SA-MP Forums Archive
Help with selecting skins.. ;] - 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)
+--- Thread: Help with selecting skins.. ;] (/showthread.php?tid=332853)



Help with selecting skins.. ;] - Mr_RokKi3[B] - 09.04.2012

Hello, i have mode RP..
And There is a way to skip the selection skins?

thanks for help


Re: Help with selecting skins.. ;] - !LukniS! - 09.04.2012

Delete all AddPlayerClass Functions


Re: Help with selecting skins.. ;] - Kakioshe22 - 09.04.2012

This shall work
Quote:

forward SkipSpawn(playerid);
public OnPlayerRequestClass(playerid)
{
SetTimerEx("SkipSpawn",0,1,"i",playerid);//It's required to have atleast 1 millisecond
return 1;
}
public SkipSpawn(playerid)
{
//Set Spawn Information Here Using SpawnInfo(...);
SpawnPlayer(playerid);
return 1;
}




Re: Help with selecting skins.. ;] - Mr_RokKi3[B] - 09.04.2012

don't work.. (:

i have the Dialog "< > Spawn", and i dont have spawn..


Re: Help with selecting skins.. ;] - Jonny5 - 09.04.2012

you have to atleast add 1 class.


Re: Help with selecting skins.. ;] - Mr_RokKi3[B] - 09.04.2012

in the server RP: samp.ng-gaming.net:7777 i dont have a selecting skin and the dialog " < > Spawn"
how i can do it?

and people's ^^^
i have spawn, but i have the dialog " < > Spawn "..

sorry for my bad english [;


Re: Help with selecting skins.. ;] - Mr_RokKi3[B] - 09.04.2012

Someone Can Help Me?


Re: Help with selecting skins.. ;] - Phyrunx - 09.04.2012

Hmm Stop Bumping
Under
pawn Code:
OnPlayerRequestClass
Type This
pawn Code:
SpawnPlayer(playerid);



Re: Help with selecting skins.. ;] - Mr_RokKi3[B] - 09.04.2012

but, i have spawn, and i have the Dialog "< > Spawn"
how i can hide the dialog?!


Re: Help with selecting skins.. ;] - Boooth - 09.04.2012

you need to use this;
pawn Code:
SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
SpawnPlayer(playerid);
The SetSpawnInfo is essential.