30.03.2013, 01:18
You can't use functions outside a function/callback.
Remove this:
And change this here:
Remove this:
pawn Код:
new rand = random(sizeof(Male));
new ferand = random(sizeof(Female));
pawn Код:
public OnPlayerSpawn(playerid)
{
if(pInfo[playerid][Sex] == 0)
{
SetPlayerSkin(playerid, Male[random(sizeof(Male))]);
}
if(pInfo[playerid][Sex] == 1)
{
SetPlayerSkin(playerid, Female[random(sizeof(Female))]);
}
return 1;
}

