SA-MP Forums Archive
Skip class selection / Save skin - 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: Skip class selection / Save skin (/showthread.php?tid=451427)



Skip class selection / Save skin - Configuration - 17.07.2013

Help me please Skip class selection / save skin


Re: Skip class selection / Save skin - mahdi499 - 17.07.2013

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid);
    SetPlayerSkin(playerid, 21);
}
here's an example


Re: Skip class selection / Save skin - Configuration - 17.07.2013

not this


Re: Skip class selection / Save skin - Twizted - 17.07.2013

pawn Код:
public OnPlayerConnect(playerid)
{
     SetSpawnInfo(...); // Parameters: (playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
     SpawnPlayer(playerid);
     return 1;
}
If that doesn't work, then this might:

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
  return 0; //Returns 0, so there won't be request class.
}



Re: Skip class selection / Save skin - Configuration - 17.07.2013

i need smothing like this video [ame]http://www.youtube.com/watch?v=2G3o6Os1n30[/ame] but in pawno


Re: Skip class selection / Save skin - Twizted - 17.07.2013

Doesn't the code that I sent you work?


Re: Skip class selection / Save skin - Configuration - 17.07.2013

nah i need smothing like this


Re: Skip class selection / Save skin - RajatPawar - 17.07.2013

The video you posted has the right code. Use it. What do you mean "I need like this in pawno"? The code is going to remain the SAME. He's using a different IDE. Gee, just follow his steps, just in your IDE! (PAWNO)


Re: Skip class selection / Save skin - Configuration - 17.07.2013

o can make com and give me?