03.03.2014, 01:17
I don't understand why this is an "invalid Function."
Help me out please, I'm sure you will be able to figure out what my idea is here.
Thanks 4 help.
Help me out please, I'm sure you will be able to figure out what my idea is here.
Код:
public OnPlayerSpawn(playerid) { if GetPlayerSkin(playerid) = 283; { SetPlayerArmour(playerid,100); GivePlayerWeapon(playerid,24,20000); new Random = random(sizeof(RandomSpawns)); SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]); SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]); } else { new Random = random(sizeof(RandomSpawns)); SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]); SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]); } return 1; }