SA-MP Forums Archive
a little bit help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: a little bit help (/showthread.php?tid=248007)



a little bit help - Bilawal2050 - 11.04.2011

how i do
the player colour change into different colours green and white on every 1 second plz help
i need for vip



Re: a little bit help - Stigg - 11.04.2011

https://sampwiki.blast.hk/wiki/SetTimer
https://sampwiki.blast.hk/wiki/SetTimerEx
https://sampwiki.blast.hk/wiki/SetPlayerColor


Re: a little bit help - Bilawal2050 - 11.04.2011

ah plz code


Re: a little bit help - alpha500delta - 11.04.2011

Try yourself maybe? it's not that hard. Anyway, something like this will do...

pawn Код:
SetTimerEx("Color",1000, true, "i", playerid); //Somewhere in a callback... Don't copy please, has some errors I think.

forward Color(playerid);
public Color(playerid)
{
    SetPlayerColor(playerid, ...); //You can use a random statement here :)
    return 1;
}



Re: a little bit help - Bilawal2050 - 11.04.2011

please give me full compile man


Re: a little bit help - aircombat - 11.04.2011

Quote:
Originally Posted by Bilawal2050
Посмотреть сообщение
please give me full compile man
what's the point of copying codes u can just download a gamemode dude u should try to learn scripting urself


Re: a little bit help - Rivera - 11.04.2011

true... nubz