04.08.2009, 12:12
Function parameters: This function converts string to integer, could be used to select a number itself.
Sulotion: Code example, if you use strtok for example.
Usage:
Sulotion: Code example, if you use strtok for example.
Usage:
pawn Код:
array=strtok(cmdtext,idx);
if(strval(array)==3) return SendClientMessage(playerid,color,"3"); // Means you wrote a command and then 3.