Need help with making a class.
#1

Okay, every time i try to make a class to spawn with it doesn't work. I'm not sure if i'm adding it in the right spot.
Also can anyone show me an example on how to and where to put it because i feel like i'm failing, also how do i make a menu that has buy-able weapons/items/vehicles with editable prices.
Reply
#2

Where are you putting it?
Reply
#3

i put AddPlayerClass(105,2496.035,-1701.942,1014.734, 0, 24, 500, 32, 250, 9, 1)
under public OnGameModeInit() and i did space it so it looks like

OnGameModeInit()

AddPlayerClass(105,2496.035,-1701.942,1014.734, 0, 24, 500, 32, 250, 9, 1)

and yeah it just doesnt add the class
Reply
#4

supposed to be

pawn Код:
public OnGameModeInit()
{
AddPlayerClass(105,2496.035,-1701.942,1014.734, 0, 24, 500, 32, 250, 9, 1);
//more of your stuff
return 1;
}
Reply
#5

thank you , it worked . now how do i add a menu with buyable weapons/cars/items?
Reply
#6

idk about menus search this in ******

SAMP Dialogs

or

SAMP Menus
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)