SA-MP Forums Archive
new topic pls 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: new topic pls help (/showthread.php?tid=122054)



new topic pls help - zzmaker205 - 19.01.2010

hey i need help with making skins only for admins this is wat i type

public OnPlayerSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 294 && !IsPlayerAdmin(playerid))
{
ForceClassSelection(playerid);
SetPlayerHealth(playerid,0);
}
return 1;
}


This is wat happens when i click compile [error 021: symbol already defined: "OnPlayerSpawn"] I NEED HELP .....





Re: new topic pls help - V1ceC1ty - 19.01.2010

You already have OnPlayerSpawn somewhere else in your script.


Re: new topic pls help - kman - 20.01.2010

Quote:
Originally Posted by V1ceC1ty
You already have OnPlayerSpawn somewhere else in your script.
yea i agree ,did u copy that from somewhere?