Random Teamcolor
#1

How do i set it, that when a player spawns, he gets a random color like first he gets green, and on the next join his name is purple.
I've found this;

pawn Код:
public OnPlayerUpdate(playerid){
    SetPlayerColor(playerid, random(0xFFFFFFFF));
    return true;
but that gets me this;

Код:
D:\SA-MP Server\SERVER\filterscripts\classes.pwn(104) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
So could someone explain to me how to change it so that it will work?


Many thanks!

Mr. M
Reply


Messages In This Thread
Random Teamcolor - by Mr. M - 04.04.2009, 15:44
Re: Random Teamcolor - by Nero_3D - 04.04.2009, 15:46
Re: Random Teamcolor - by Mr. M - 04.04.2009, 15:52
Re: Random Teamcolor - by Nero_3D - 04.04.2009, 16:38
Re: Random Teamcolor - by Mr. M - 04.04.2009, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)