How to make a Class PICKUP
#1

Hello, i create some class on my server [a begginer server] but when i enter it just appear the first class with the first skin, how do i change it? how do i make a menu so the user can pick a class?
Reply
#2

Use ShowPlayerDialog (https://sampwiki.blast.hk/wiki/How_to_Create_a_Dialog) in the public OnPlayerRequestClass.
Reply
#3

Under OnGameModeInit()

PHP код:
AddPlayerClass(01958.331343.1215.36269.1526362815000);
    
AddPlayerClass(1,212.9686,1822.9299,6.4141,271.7795,0,0,0,0,0,0);
    
AddPlayerClass(2,212.9686,1822.9299,6.4141,271.7795,0,0,0,0,0,0);
    
AddPlayerClass(3,212.9686,1822.9299,6.4141,271.7795,0,0,0,0,0,0);
    
AddPlayerClass(4,212.9686,1822.9299,6.4141,271.7795,0,0,0,0,0,0); 
Use AddPlayerClass to add classes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)