18.01.2012, 02:24
I'm getting the above error on lines 90 and 100. I cannot find what is wrong for anything. Anyone know what's up? I am very new to Pawn.
pawn Код:
YCMD:starttrucking(playerid, params[], help)
{
#pragma unused params
#pragma unused help
new string[50];
SendClientMessage(playerid, COLOR_GREEN, "CB Radio: Well, get che' a truck from ye' ol' HQ!");
format(string, sizeof(string), "Head to the Truckers HQ in Dillimore.");
GameTextForPlayer(playerid, string, 3000, 4);
SetPlayerCheckpoint(playerid, 807.3625,-610.1833,16.3359, 3.0);
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_GREEN, "CB Radio: Eh, you've made it. Choose a truck.");
return 1;
}