Help with Weapon!
#1

i need help with weapon if player spwn get weapon and if he death and spawn again dont see more Dialog.
Reply
#2

Can you explain more and show us the code perhaps? if any.
Reply
#3

Just add GivePlayerWeapon(); under OnPlayerSpawn();
I'm on my phone so I can't really show you.
Reply
#4

i dont know how to explain that :/
Reply
#5

Ok, i understand you and you should be more specific (You first talk about a generic weapon then of a dialog)

top:
Код:
new bool:playerHaveWeapon[MAX_PLAYERS] = {false, ...};
OnPlayerSpawn
Код:
if (!playerHaveWeapon[playerid]) {
// Show the dialog
playerHaveWeapon [playerid] = true;
}
If you want to let the player to re-choose his weapons change playerHaveWeapon to false.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)