21.02.2012, 15:20
Hello,
I'm using the SPU[Special Police Units] FS, and I defined "zcmd" and changed the /spu command to ZCMD, and I get these errors:
Here's the command:
I'm using the SPU[Special Police Units] FS, and I defined "zcmd" and changed the /spu command to ZCMD, and I get these errors:
Код:
error 029: invalid expression, assumed zero error 017: undefined symbol "cmd_spu" error 029: invalid expression, assumed zero fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
CMD:spu(playerid, params[]) { if(GetPlayerSkin(playerid) != 280 && GetPlayerSkin(playerid) != 281 && GetPlayerSkin(playerid) != 282 && GetPlayerSkin(playerid) != 283 && GetPlayerSkin(playerid) != 284 && GetPlayerSkin(playerid) != 285 && GetPlayerSkin(playerid) != 286 && GetPlayerSkin(playerid) != 287 && GetPlayerSkin(playerid) != 288) { ShowPlayerDialog(playerid, 1123, DIALOG_STYLE_LIST, "So you want to have a SPU, what one do you want then?", DIALOG1_MSG, "Take it", "Leave it" ); } else { SendClientMessage(playerid, COLOR_RED, "You need to be in the Police Force to beable to use this."); } return 1; }