Store in Variables
#1

Well...

here is the variable
new giveplayermoney[MAX_PLAYERS];

OnPlayerDeath(playerid,killerid,weaponid)
I want to get killerid and store in my variable


and then i want to use the variable to give a player money

(I KNOW HOW TO GIVE HIM WITHOUT USING VARIABLES BUT THIS IS TO GROW MY SKILLS)
OnPlayerDeath(playerid,6969); is the solution but i want to learn so
Reply
#2

pawn Код:
giveplayermoney[killerid]
The same will work if you're using GivePlayerMoney(killerid,amount);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)