easy question [+rep]
#1

hi sa-mp community this is a very silly question but i have forgotten something

if i want to add a class like this:

AddPlayerClass(285,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
wich set of numbers is the weapon they spawn with and its amo?
Reply
#2

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

pawn Код:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
Reply
#3

First number is skin ID, next 6 are the ones you use for coordinates
I suggest you to give weapons with GivePlayerWeapon^^

Anyways read samp wiki
Reply
#4

ok just to make sure if i wanted to make it with swat skin and minigun with 500amo it would look like this?

AddPlayerClass(285,1759.0189,-1898.1260,13.5622,38,500,266.4503,-1,-1,-1,-1,-1,-1);
Reply
#5

No, it wouldn't.
Reply
#6

you better make

public OnPlayerSpawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)