Skins loading
#2

Try to use SetSpawnInfo.

Here is example:
pawn Код:
public OnPlayerSpawn(playerid)
{
if(gPlayerNewbie[playerid] == 1)
{
SetPlayerColor(playerid,0x6F6F6FFF);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1642.2858,-2332.8455,-2.6797);
GivePlayerMoneyEx(playerid, 5000);
}
else {
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pClotches], 1642.2858,-2332.8455,-2.6797, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
SetPlayerColor(playerid,0x6F6F6FFF);
SetPlayerInterior(playerid,0);
}
return 1;
}
Reply


Messages In This Thread
Skins loading - by Yako - 11.07.2011, 16:52
Re: Skins loading - by Hipflop - 11.07.2011, 17:10
Re: Skins loading - by Toreno - 11.07.2011, 17:12
Re: Skins loading - by Yako - 11.07.2011, 18:08
Re: Skins loading - by Toreno - 11.07.2011, 18:14
Re: Skins loading - by Yako - 11.07.2011, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)