Change Skin not working after..
#3

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
Try this

pawn Код:
//Under OnPlayerDeath
GetPlayerSkin(playerid);
//Under OnPlayerSpawn
SetPlayerSkin(GetPlayerSkin(playerid));
I get 1 error
Quote:

C:\KevsFile\Torreto Racing(1)\gamemodes\TorettoRacing.pwn(7012) : warning 202: number of arguments does not match definition

This is On my playerspawn

Quote:

public OnPlayerSpawn(playerid)
{
SetPlayerSkin(GetPlayerSkin(playerid));
new Random = random(sizeof(RandomSpawns));
SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
SetPlayerInterior(playerid, 0);
SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
return 1;
}

Solved: SetPlayerSkin(playerid, GetPlayerSkin(playerid));
Reply


Messages In This Thread
Change Skin not working after.. - by kbalor - 24.06.2012, 14:53
Re: Change Skin not working after.. - by newbienoob - 24.06.2012, 14:56
Re: Change Skin not working after.. - by kbalor - 24.06.2012, 15:01
Re: Change Skin not working after.. - by Jonny5 - 24.06.2012, 15:28
Re: Change Skin not working after.. - by kbalor - 24.06.2012, 15:43
Re: Change Skin not working after.. - by Faisal_khan - 24.06.2012, 15:44
Re: Change Skin not working after.. - by Jonny5 - 24.06.2012, 15:44
Re: Change Skin not working after.. - by kbalor - 24.06.2012, 15:45
Re: Change Skin not working after.. - by kbalor - 24.06.2012, 15:47
Re: Change Skin not working after.. - by Jonny5 - 24.06.2012, 15:50

Forum Jump:


Users browsing this thread: 1 Guest(s)