PAWN!!!!!!!!!!!!!!! >.<
well i am lazy to tell you all.....
but # 4
Its Globle variable that can be used in any public function or command
its Saves Player info
well i make a Globle Variable for player money / Cash in top of script where #define static are
new PlayerCash[MAX_PLAYERS][Cash];
ok lets apply it on cmd's
here we go!
like
@ cmd !givemecash
PlayerCash[player][Cash] + 100;
and
@cmd !cash
if(PlayerCash[player][Cash] == 0) ClientMsg(player,COLOR,"You don't got any cash
"): // well
sign is not troll face exactly
else {
new xmsg[45];
format(xmsg,45,"your Cash is $ %d",PlayerCash[player][Cash]);
return ClientMSG(player,COLOR,xmsg);
}
//it will return cash amount that was in PlayerCash[player][Cash] meaning is that you can use it where ever u can , no need to create it for every cmd like new PlayerCash etc
just be Happy i can tell as much i can ,i eventually forgot 80% of pawn due to Squirrel Language , Squirrel is most easiest language , well you should try squirrel at least i was thinking to make a squirrel Tutorial when i will be free
Greetings Trafford