Originally Posted by Flashy
Learn to script. Easy.
|
Originally Posted by DavidMcp
D:\Users\Admin\Desktop\ser_0.3\ser 0.3\gamemodes\larp.pwn(24193) : warning 219: local variable "tmp" shadows a variable at a preceding level
D:\Users\Admin\Desktop\ser_0.3\ser 0.3\gamemodes\larp.pwn(24193) : error 008: must be a constant expression; assumed zero D:\Users\Admin\Desktop\ser_0.3\ser 0.3\gamemodes\larp.pwn(24195) : error 017: undefined symbol "PlayersAccent" D:\Users\Admin\Desktop\ser_0.3\ser 0.3\gamemodes\larp.pwn(24195) : warning 215: expression has no effect D:\Users\Admin\Desktop\ser_0.3\ser 0.3\gamemodes\larp.pwn(24195) : error 001: expected token: ";", but found "]" D:\Users\Admin\Desktop\ser_0.3\ser 0.3\gamemodes\larp.pwn(24195) : error 029: invalid expression, assumed zero D:\Users\Admin\Desktop\ser_0.3\ser 0.3\gamemodes\larp.pwn(24195) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
if(!strcmp("/accent", cmdtext, true)) {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xFFFFFFF, "/accept <accent> (German, Spanish etc..)");
strmid(PlayersAccent[playerid], tmp, 0, strlen(tmp), 255);
return 1;
}