Error on PlayerStateChange
#9

Quote:
Originally Posted by AlphaPac
Посмотреть сообщение
Lol, it's because the wanted level is an integer and not a string.

pawn Код:
new string[128];
format(string, sizeof(string), "[WANTED LEVEL] Wanted level %d - Stealing an Enforcement vehicle!", GetPlayerWantedLevel(playerid) + 2);
SendClientMessage(playerid, INFO, string);
Thanks, it works!

But, is there a way so that it only adds the wanted level after 30 seconds. For example, if I get in the ambulance, it will add 2+ to my wanted level right away, but if I get out for 10 seconds and get back in, my wanted level would stay the same. It would have to be 30 seconds to a minute before its able to add the wanted level

Thanks
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: 1 Guest(s)