Oke here is the error hope somebody can fix it for me.
C:\Documents and Settings\Giesje\Mijn documenten\Test.pwn(131) : warning 209: function "OnPlayerSpawn" should return a value
This is the script
public OnPlayerSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 110 || GetPlayerSkin(playerid) == 108 || GetPlayerSkin(playerid) == 109){
SetPlayerColor(playerid,COLOR_YELLOW);}
else if(GetPlayerSkin(playerid) == 121 || GetPlayerSkin(playerid) == 122 || GetPlayerSkin(playerid) == 123){
SetPlayerColor(playerid,COLOR_CYAN);}
else if(GetPlayerSkin(playerid) == 287 ||
SetPlayerColor(playerid,COLOR_GREEN)
) return 1;
}
u have got an extra ) if you look carefully and there needs to be a ; after SetPlayerColor(playerid,COLOR_GREEN)
Cant seem to fix this problem please you do it for me my msn it at desert and i reply'd there too you should read it
Desert-Dm?
Don't revive old posts..