need help
#1

Can Someone help To Correct This Code?

i tryd to make andromanda enter with score but it not gives a function .
Код:
public OnPlayerStateChange(playerid, newstate, oldstate){
if(newstate==PLAYER_STATE_DRIVER)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 592, GetPlayerScore(playerid) >= 500)
{
SendClientMessage(playerid, COLOR_YELLOW,"Welcome To Andromanda!");
}
else
{
SendClientMessage(playerid, COLOR_YELLOW,"You Need Atleast 500 Score To Enter Andromanda!");
new string[128];
format(string, sizeof(string), "Your Flight Score is: %i",GetPlayerScore(playerid));
SendClientMessage(playerid, COLOR_YELLOW, string);
}
}
return 1;
}
Reply


Messages In This Thread
need help - by rs2fun111 - 03.01.2010, 21:48
Re: need help - by Backwardsman97 - 03.01.2010, 21:52
Re: need help - by rs2fun111 - 03.01.2010, 21:53
Re: need help - by rs2fun111 - 03.01.2010, 22:06
Re: need help - by Backwardsman97 - 03.01.2010, 23:27

Forum Jump:


Users browsing this thread: 2 Guest(s)