GetPlayerSkin problem. Help!
#1

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.

Код:
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;
}
Thanks 4 help.
Reply


Messages In This Thread
GetPlayerSkin problem. Help! - by GrassHopper101 - 03.03.2014, 01:17
Re: GetPlayerSkin problem. Help! - by GrassHopper101 - 03.03.2014, 01:19
Re: GetPlayerSkin problem. Help! - by SwisherSweet - 03.03.2014, 01:23
Re: GetPlayerSkin problem. Help! - by GrassHopper101 - 03.03.2014, 01:24
Re: GetPlayerSkin problem. Help! - by SwisherSweet - 03.03.2014, 01:28
Re: GetPlayerSkin problem. Help! - by GrassHopper101 - 03.03.2014, 02:34

Forum Jump:


Users browsing this thread: 3 Guest(s)