How to make this!?
#2

Do you mean comparing the text he just wrote with a string stored using PVars? Well use strcmp the same way as always to compare the strings.

pawn Код:
new string[128];
GetPVarString(playerid,"Key",string,128);
if(strcmp(text,string,true) == 0) // Strings match...
Reply


Messages In This Thread
How to make this!? - by [H]265 - 22.01.2011, 16:05
Re: How to make this!? - by JaTochNietDan - 22.01.2011, 16:12
Re: How to make this!? - by [H]265 - 22.01.2011, 16:13
Re: How to make this!? - by admantis - 22.01.2011, 16:13

Forum Jump:


Users browsing this thread: 1 Guest(s)