Code:
(104704) : error 001: expected token: "-identifier-", but found "5" (104708) : error 010: invalid function or declaration (104711) : error 001: expected token: "-identifier-", but found "5" (104714) : error 010: invalid function or declaration
Here are the lines
Code:
public 555phone(playerid)
{
SendClientMessage(playerid, COLOR_YELLOW, "Good day, and thanks for calling LTS. We might have a job for you.");
SetTimerEx("555phone1", 10000, false, "i", playerid);
return 1;
}
public 555phone1(playerid)
{
SendClientMessage(playerid, COLOR_YELLOW, "Perfect! We've got a job available. Please hold on.");
return 1;
}
Code:
CMD:call(playerid, params[])
{
new string[128], phonenumb;
if(sscanf(params, "d", phonenumb))
{
SendClientMessageEx(playerid, COLOR_GRAD2, "Land Transport Exclusives - 555");
return 1;
}
if(phonenumb == 555)
{
foreach(Player, i)
{
if(Mobile[i] == playerid)
{
Mobile[playerid] = i; //caller connecting
SendClientMessageEx(i, COLOR_GRAD2, " An unknown man picked up the call.");
RingTone[playerid] = 0;
SetTimerEx("555phone", 1500, false, "i", playerid);
return SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
}
}
}
return 1;
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.
Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting.
Error help
Aucun commentaire:
Enregistrer un commentaire