omg - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: omg (
/showthread.php?tid=115098)
omg -
PANNA - 22.12.2009
OnGameModeInit:
pawn Код:
AddPlayerClass(287, 799.4444,1877.2228,4.7060,83.5589, 23, 200, 0, 0, 0, 0);
AddPlayerClass(280, 799.4444,1877.2228,4.7060,83.5589, 23, 200, 0, 0, 0, 0);
AddPlayerClass(281, 799.4444,1877.2228,4.7060,83.5589, 23, 200, 0, 0, 0, 0);
AddPlayerClass(285, 799.4444,1877.2228,4.7060,83.5589, 23, 200, 0, 0, 0, 0);
i see those skins in the request class, but when i spawn, i spawn as CJ...
edit: and i get a shotgun and m4...
Re: omg -
Correlli - 22.12.2009
Check your OnPlayerSpawn-callback for any SetPlayerSkin and GivePlayerWeapon functions or search your script for any SetSpawnInfo function.
Re: omg -
PANNA - 22.12.2009
Quote:
Originally Posted by Don Correlli
Check your OnPlayerSpawn-callback for any SetPlayerSkin and GivePlayerWeapon functions or search your script for any SetSpawnInfo function.
|
well, this is what i have at OnPlayerSpawn, but this must not be a problem as far as i know:
pawn Код:
public OnPlayerSpawn(playerid)
{
{
new randspawn=random(2);
switch(randspawn)
{
case 1:SetPlayerPos(playerid, 425.5388,2517.6516,19.7864,65.4855);
case 2:SetPlayerPos(playerid, -57.9744,2505.8401,19.7864,182.5996);
}
return 1;
}
GivePlayerMoney(playerid, 1000);
return 1;
}
Re: omg -
Lajko1 - 22.12.2009
Quote:
Originally Posted by PANNA
Quote:
Originally Posted by Don Correlli
Check your OnPlayerSpawn-callback for any SetPlayerSkin and GivePlayerWeapon functions or search your script for any SetSpawnInfo function.
|
well, this is what i have at OnPlayerSpawn, but this must not be a problem as far as i know:
pawn Код:
public OnPlayerSpawn(playerid) { GivePlayerMoney(playerid, 1000);
new randspawn=random(2); switch(randspawn) { case 1:SetPlayerPos(playerid, 425.5388,2517.6516,19.7864,65.4855); case 2:SetPlayerPos(playerid, -57.9744,2505.8401,19.7864,182.5996); return 1; } return 1; }
|
EDIT: idk what are u doing in ur codes but 2 opening brackets at start of callback ''OnPlayerSpawn'' is 100 parcent no needed ,for skins check fulls cript as coreli say , SetSpawnInfo,SetPlayerSkin, check all again and if u are using FS check there and delete ''AddPlayerClass'' if there is soemthing like that and i think it should work when u will check the full script again
Re: omg -
saiberfun - 22.12.2009
OnPlayerStateChange Maybe?