C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(16077) : error 021: symbol already defined: "strtok" C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(16092) : error 047: array sizes do not match, or destination array is too small C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27796) : warning 219: local variable "mod" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGa me.pwn(27777) : warning 219: local variable "mod" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |
new mod = 100; |
if (strcmp(cmd, "/buygun", true) == 0 || strcmp(cmd, "/kupioruzije", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pLevel] < 2) { SendClientMessage(playerid, COLOR_GREY, " Morate biti level 2! "); return 1; } if(JB_GetPlayerMoney(playerid) < 1) { SendClientMessage(playerid, COLOR_GREY, " Nemate dovoljno novca kod sebe !"); return 1; } new gun; new gunid[16]; // new gunstring1[128]; // new gunstring2[128]; new gunstring3[256]; new gunstring4[256]; // new gunstring5[128]; new infostring[256]; new guncharge; new ammocharge; new location = PlayerInfo[playerid][pLocal]; if(location == 99 || location == 100 || location == 102 || location == 105) { if(BizzInfo[location-99][bProducts] <= 0) { GameTextForPlayer(playerid, "~r~Nemamo vise zaliha", 5000, 1); return 1; } new mod = 100; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { format(string, sizeof(string), "Koriscenje: /kupioruzije [ime oruzija] [municija]"); SendClientMessage(playerid, COLOR_GREEN,"_______________________________________"); SendClientMessage(playerid, COLOR_WHITE,"*** Oruzije & Municija ***"); SendClientMessage(playerid, COLOR_GRAD2,string); /* format(gunstring1, 256, "Oruzije: parachute ($%d) golfclub ($%d) nightstick ($%d) baseballbat ($%d) shovel ($%d) poolcue ($%d)", GunPrice[0][0]/100*mod,GunPrice[1][0]/100*mod,GunPrice[2][0]/100*mod,GunPrice[3][0]/100*mod,GunPrice[4][0]/100*mod,GunPrice[5][0]/100*mod,GunPrice[6][0]/100*mod); SendClientMessage(playerid, COLOR_GRAD3, gunstring1); format(gunstring2, 256, "Oruzije: purpledildo ($%d) whitedildo ($%d) longwhitedildo ($%d) whitedildo2 ($%d) flowers ($%d) cane", GunPrice[7][0]/100*mod,GunPrice[8][0]/100*mod,GunPrice[9][0]/100*mod,GunPrice[10][0]/100*mod,GunPrice[11][0]/100*mod,GunPrice[12][0]/100*mod); SendClientMessage(playerid, COLOR_GRAD3, gunstring2);*/ format(gunstring3, 256, "Oruzije: sdpistolj ($%d) dezert ($%d) tec9 ($%d) uzi ($%d) hekler ($%d)", GunPrice[13][0]/100*mod,GunPrice[15][0]/100*mod,GunPrice[16][0]/100*mod,GunPrice[17][0]/100*mod,GunPrice[18][0]/100*mod); SendClientMessage(playerid, COLOR_GRAD3, gunstring3); format(gunstring4, 256, "Oruzije: pumparica ($%d) kalas ($%d) m4 ($%d) puska ($%d) snajper ($15000)", GunPrice[19][0]/100*mod,GunPrice[22][0]/100*mod,GunPrice[23][0]/100*mod,GunPrice[24][0]/100*mod,GunPrice[12][0]/100*mod); SendClientMessage(playerid, COLOR_GRAD3, gunstring4); /* format(gunstring5, 256, "Oruzije: pistolammo ($50) shotgunammo ($%d) smgammo ($%d) assaultammo ($%d) rifleammo ($%d)", GunPrice[25][0],GunPrice[26][0],GunPrice[27][0],GunPrice[28][0],GunPrice[29][0]); SendClientMessage(playerid, COLOR_GRAD3, gunstring5); */ SendClientMessage(playerid, COLOR_GREEN,"_______________________________________"); return 1; }
C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGa me.pwn(27777) : warning 219: local variable "mod" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |
C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27791 -- 27792) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27794 -- 27795) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27815) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27820) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27825) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27830) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27835) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27840) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27845) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27850) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27855) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27860) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27865) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27875) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27880) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27885) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27890) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27896) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27901) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27906) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27911) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27916) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27921) : error 076: syntax error in the expression, or invalid function call C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGame.pwn(27777) : warning 204: symbol is assigned a value that is never used: "mod2" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 23 Errors.
C:\Documents and Settings\Toni Bedy\Desktop\balkanskarealnost\gamemodes\FactionGa me.pwn(27777) : warning 219: local variable "mod" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |