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



OnPlayerRequestClass - cray1100 - 04.08.2013

Ok... Well i have mine setup right, and it works... I have two questions though...


1.) Can a player hold a weapon, or can i place a pickup of a weapon next to him/her... WHILE CHOOSING A CLASS...?

2.) Can i put them in an interior, and how?



Please help.. I have searched for both, i failed...


Re: OnPlayerRequestClass - cray1100 - 05.08.2013

BUMP


Re: OnPlayerRequestClass - FireWarrior101 - 05.08.2013

Quote:
Originally Posted by cray1100
Посмотреть сообщение
Ok... Well i have mine setup right, and it works... I have two questions though...


1.) Can a player hold a weapon, or can i place a pickup of a weapon next to him/her... WHILE CHOOSING A CLASS...?

2.) Can i put them in an interior, and how?



Please help.. I have searched for both, i failed...
When u addplayerclass
u can add the the weapons and with class system if he chooses the class he want
u can add weapons to that class so that he can spawn with the weapons that the class gave him
hope this helped


Re: OnPlayerRequestClass - cray1100 - 05.08.2013

Thats not what i mean... I mean like, if a i have a ninja class, while the player is picking a class he will see ninja, and the ninja will hold a sword... not after he spawns


Re: OnPlayerRequestClass - Edix - 05.08.2013

Quote:
Originally Posted by cray1100
Посмотреть сообщение
Thats not what i mean... I mean like, if a i have a ninja class, while the player is picking a class he will see ninja, and the ninja will hold a sword... not after he spawns
Use GivePlayerWeapon on the OnPlayerRequestClass, maybe that will work.


Re: OnPlayerRequestClass - cray1100 - 06.08.2013

i tried that, doesnt work