Getplayerscore == 2?
#6

Its useful if you want check that score many times, like

new a = GetPlayerScore(playerid);
if(a == 1) { do; }
else if(a == 2) { do; }
else if(a == 3) { do; }
else if(a == 4) { do; }

You dont have to get player score each time, I believe its few miliseconds faster, you also wont call same thing all over again, as each time it sends some data from client to server, so you send it only once and compare, hope you got it
Reply


Messages In This Thread
Getplayerscore == 2? - by ThePhill97 - 25.11.2012, 14:43
Re: Getplayerscore == 2? - by Djole1337 - 25.11.2012, 14:45
Re: Getplayerscore == 2? - by XtremeR - 25.11.2012, 14:46
Re: Getplayerscore == 2? - by QuaTTrO - 25.11.2012, 14:47
Re: Getplayerscore == 2? - by Djole1337 - 25.11.2012, 14:49
Re: Getplayerscore == 2? - by ikey07 - 25.11.2012, 14:53
Re: Getplayerscore == 2? - by XtremeR - 25.11.2012, 15:49

Forum Jump:


Users browsing this thread: 4 Guest(s)