Need Help With Weapons
#1

hi guys,

My problem is I am making a Minigame and when he join the minigame it gives a Dialog to the player and in the dialog he can choose weapon sets but after death his weapon set get reset I just want to save the player weapon set..

Please someone Help :\
Reply
#2

here you can choose what weapons and It also saves too

https://sampforum.blast.hk/showthread.php?tid=284749

Kinds Regards
Ciandlah

Please use search tab next time before asking
Reply
#3

lol ? I already searched I don't want this bro I want just it save the player weapon in minigame and when left the minigame it don't save it :\ ... btw thanks for the help
Reply
#4

Then give him the weapon he needs and when he leaves the mini game

Код:
ResetPlayerWeapons(playerid);
Kind Regards
Ciandlah
Reply
#5

ugh bro u r not understanding me read my first post pls.
Reply
#6

Your not making sense; I am answering to what you are requesting what you want.
Reply
#7

I can't understand :\
Reply
#8

Under OnPlayerSpawn
Код:
if(inMini[playerid]==1)
 {
   SetPlayerPos(playerid,x,y,z); //coordinates according to the mini game position.
   if(wslot1[playerid]==1)
    {
       GivePlayerWeapon(playerid,weaponid,ammo); //according to the weapon in slot 1, you have to add weapons according to slot.
     }
  }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)