SA-MP Forums Archive
Skin Bug - 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: Skin Bug (/showthread.php?tid=511400)



Skin Bug - gekas - 05.05.2014

Helloo i need help.

I want to know when i connect i use (example Skin number 67)
PHP код:
AddPlayerClass(671580.3962,-1636.7898,13.5579,83.3784,0,0,0,0,0,0); 
I want if i use this skin i want to be a cop

And iF i use any other of skin's make mee civilian.


Re: Skin Bug - gekas - 05.05.2014

Please Help mee I WANT THIS


Re: Skin Bug - XK - 05.05.2014

Use under OnPlayerRequestClass
pawn Код:
if(classid == 0) // it means if the player selected the first skin you shown him,like you showed him skin id 299 first ,this one means if he used it,the first addplayerclass...
{
// code here for example IsACop[playerid] = 1;
}



Re: Skin Bug - gekas - 05.05.2014

Can to make for mee nice example
I have and Filterscript and gamemode
In gamemode i dont have mutch i have just Skins, mode and onplayerspawn