Learning Pawn.
#6

pawn Code:
if(GetPlayerCash(playerid) >= 200)
Checks if player has less or equal to 200 money
pawn Code:
if (strcmp(stat, "Cash", true) == 0)
Normal Format of strcmp
pawn Code:
new stat[32];
Making New Functon Called 'stat' that is 32 cells big array.

Personally, I say, use zcmd, that is the most easiest command system. Its faster and a lot easier to learn than the strcmp.
Reply


Messages In This Thread
[No subject] - by 07wilsonaf - 09.02.2011, 18:35
Re: Learning Pawn. - by alpha500delta - 09.02.2011, 19:08
Re: Learning Pawn. - by Max_Coldheart - 09.02.2011, 19:09
Re: Learning Pawn. - by 07wilsonaf - 09.02.2011, 19:12
Re: Learning Pawn. - by 07wilsonaf - 09.02.2011, 19:13
Re: Learning Pawn. - by Max_Coldheart - 09.02.2011, 19:26
Re: Learning Pawn. - by 07wilsonaf - 09.02.2011, 19:51
Re: Learning Pawn. - by Grim_ - 09.02.2011, 19:56
Re: Learning Pawn. - by admantis - 09.02.2011, 19:57
Re: Learning Pawn. - by Grim_ - 09.02.2011, 20:01

Forum Jump:


Users browsing this thread: 1 Guest(s)