class select help
#1

hello can any one send me a class selection script? when i join the game i want to select a class
Reply
#2

Use https://sampwiki.blast.hk/wiki/AddPlayerClass

In
pawn Код:
public OnPlayerRequestClass(playerid, classid)
Reply
#3

Quote:
Originally Posted by <Krys>
Use https://sampwiki.blast.hk/wiki/AddPlayerClass

In
pawn Код:
public OnPlayerRequestClass(playerid, classid)
AddPlayerClass goes to OnGameModeInit callback, you can only use OnPlayerRequestClass callback to check the class-ID.
Reply
#4

ok but when i join the game i see arrows to select the player class but i dont see the skin of that class why?
Reply
#5

Because your camera coords at class selection aren't correct. You'll need to change them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)