I need help in 2 things please
#6

Quote:

public OnPlayerStateChange(playerid, newstate, oldstate)
new vehicleid=GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetPlayerScore(playerid) < 1500)
{
if(GetVehicleModel(vehicleid)==520)
{
new Float,
Float:y,
Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z+5);
GameTextForPlayer(playerid, "~r~Stunned", 5000, 3);
SendClientMessage(playerid, -1, ""COL_RED"Error: "COL_WHITE"You need 1500 or above score to drive Hydra.");
}
}
}
return 1;
}

error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\edku dreams\Desktop\MyScript\gamemodes\avt.pwn(333) : error 017: undefined symbol "COL_RED"
C:\Documents and Settings\edku dreams\Desktop\MyScript\gamemodes\avt.pwn(333) : warning 215: expression has no effect
C:\Documents and Settings\edku dreams\Desktop\MyScript\gamemodes\avt.pwn(333) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\edku dreams\Desktop\MyScript\gamemodes\avt.pwn(333) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
I need help in 2 things please - by TomMax - 17.07.2013, 02:18
Re: I need help in 2 things please - by Grooty - 17.07.2013, 02:21
Re: I need help in 2 things please - by TomMax - 17.07.2013, 02:33
Re: I need help in 2 things please - by JonnyDeadly - 17.07.2013, 02:46
Re: I need help in 2 things please - by PrinceKumar - 17.07.2013, 03:15
Re: I need help in 2 things please - by TomMax - 17.07.2013, 03:22
Re: I need help in 2 things please - by PrinceKumar - 17.07.2013, 03:26
Re: I need help in 2 things please - by PrinceKumar - 17.07.2013, 03:28
Re: I need help in 2 things please - by JonnyDeadly - 17.07.2013, 03:32
Re: I need help in 2 things please - by TomMax - 17.07.2013, 03:33

Forum Jump:


Users browsing this thread: 1 Guest(s)