16.01.2011, 20:07
Error:
Help Me
Pawno Code:
Код:
C:\Users\Gabri\Desktop\Untitled.pwn(508) : error 029: invalid expression, assumed zero C:\Users\Gabri\Desktop\Untitled.pwn(508) : error 029: invalid expression, assumed zero C:\Users\Gabri\Desktop\Untitled.pwn(508) : error 029: invalid expression, assumed zero C:\Users\Gabri\Desktop\Untitled.pwn(508) : fatal error 107: too many error messages on one line
Pawno Code:
PHP код:
505.if (strcmp("/noarmatura_|" , cmdtext, true)==0)
506.SetPlayerArmour(playerid,0);
507.SendClientMessage(playerid, COLOR_VERDE, "Hai tolto l'armatura");
508.strtok(const string[] &index)
509.{
510.new length = strlen(string);
511. while ((index < length) && (string[index] <= ' '))
512. {
513. index++;
514. }
515. new offset = index;
516. new result[20];
517. while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
518. {
519. result[index - offset] = string[index];
520. index++;
521. }
522. result[index - offset] = EOS;
523. return result;