Error on PlayerStateChange
#10

Add the following to where the player enters the vehicles you don't want them in.
pawn Код:
SetTimerEx("wantedtimer",30000,false,"i",playerid);
then add this somewhere else:
pawn Код:
forward wantedtimer(playerid);
public wantedtimer(playerid)
{
    new string[128];
    format(string, sizeof(string), "[WANTED LEVEL] Wanted level %d - Stealing an Enforcement vehicle!", GetPlayerWantedLevel(playerid) + 2);
    SendClientMessage(playerid, INFO, string);
}
Reply


Messages In This Thread
Error on PlayerStateChange - by FunnyBear - 15.11.2014, 17:08
Re: Error on PlayerStateChange - by J0sh... - 15.11.2014, 17:14
Re: Error on PlayerStateChange - by AlphaPac - 15.11.2014, 17:16
Re: Error on PlayerStateChange - by FunnyBear - 15.11.2014, 17:21
Re: Error on PlayerStateChange - by Glossy42O - 15.11.2014, 17:22
Re: Error on PlayerStateChange - by J0sh... - 15.11.2014, 17:23
Re: Error on PlayerStateChange - by AlphaPac - 15.11.2014, 17:25
Re: Error on PlayerStateChange - by J0sh... - 15.11.2014, 17:25
Re: Error on PlayerStateChange - by FunnyBear - 15.11.2014, 17:59
Re: Error on PlayerStateChange - by AlphaPac - 15.11.2014, 18:13

Forum Jump:


Users browsing this thread: 4 Guest(s)