20.04.2011, 14:35
pawn Код:
new x_nr[256];
x_nr = strtok(cmdtext, idx); // 17370
if(!strlen(x_nr))
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givenote [playerid/PartOfName] [note id]");
return 1;
}
pawn Код:
new x_nr[256];
x_nr = strtok(cmdtext, idx); // 17890
if(!strlen(x_nr))
{
SendClientMessage(playerid, CRISTIAN,"_______________________________________");
pawn Код:
new ammocharge;
mod = 100; // 20681
new location = PlayerInfo[playerid][pLocal];
if(location == 99 || location == 100 || location == 102)
pawn Код:
stock strtok(const string[], &index) // 49039
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[256];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result; // 49054
}
edit: slow lol

