06.12.2010, 19:27
LSPD is bugged .
Arrest don't work
and you can do /duty everywhere
Arrest don't work
and you can do /duty everywhere
C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(25132) : error 021: symbol already defined: "strtok" C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(25147) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(2665 : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(2671 : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(26771) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(27439) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(2749 : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28179) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28207) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(2821 : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(2827 : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28547) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28574) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28604) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28612) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28646) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28654) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28687) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28732) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28795) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28853) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28861) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28896) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(28904) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(29131) : error 047: array sizes do not match, or destination array is too small C:\DOCUME~1\ADMINI~1\MYDOCU~1\DOWNLO~1\Ravens\GAME MO~1\larp.pwn(29185) : error 047: array sizes do not match, or destination array is too small Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. |
if(strcmp(cmd, "/robcityhall", true) == 0) { new success = random(2); if(CityHallRobbedRecently == 1) { SendClientMessage(playerid, COLOR_GREY, "* This location was robbede recently, try again later"); return 1; } if(PlayerInfo[playerid][pRobTime] >= 1) { SendClientMessage(playerid, COLOR_GREY, "* You already attempted or robbed a place recently, please wait."); return 1; } if(IsPlayerInRangeOfPoint(playerid, 2, 358.5919,184.2908,1008.3828)) { if(GetPlayerWeapon(playerid) >= 24 && GetPlayerWeapon(playerid) <= 40) { if(PlayerInfo[playerid][pDuty] == 0) { if(success == 1) { SendClientMessage(playerid, COLOR_ORANGE, "* You are now Robbing the city Hall, please remain in the checkpoint for 60 Seconds!"); RobbingTime[playerid] = 60; RobCityHallTimer = SetTimerEx("RobCityHall",1000,true,"i",playerid); WantedPoints[playerid] = 5; SetPlayerCriminal(playerid,255, "Robbing the City Hall"); PlayerInfo[playerid][pRobTime] = 900; CityHallRobbedRecently = 1; SetTimer("UnsetCityHallRob",1500000,false); OnePlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); // Rob Lookout } else { SendClientMessage(playerid, COLOR_ORANGE, "* You failed to rob the City Hall!"); WantedPoints[playerid] = 2; SetPlayerCriminal(playerid,255, "Attempting to rob the City Hall"); PlayerInfo[playerid][pRobTime] = 500; } } else { SendClientMessage(playerid, COLOR_GREY, "* Go Off duty first!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "* You need a deadly weapon to perform this Act!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "* You're not at the City Hall Rob Point!"); return 1; } return 1; }
Go in the script with pawno do CTRL + F
search for /robcityhall for example and untill you find: Код:
if(strcmp(cmd, "/robcityhall", true) == 0) { new success = random(2); if(CityHallRobbedRecently == 1) { SendClientMessage(playerid, COLOR_GREY, "* This location was robbede recently, try again later"); return 1; } if(PlayerInfo[playerid][pRobTime] >= 1) { SendClientMessage(playerid, COLOR_GREY, "* You already attempted or robbed a place recently, please wait."); return 1; } if(IsPlayerInRangeOfPoint(playerid, 2, 358.5919,184.2908,1008.3828)) { if(GetPlayerWeapon(playerid) >= 24 && GetPlayerWeapon(playerid) <= 40) { if(PlayerInfo[playerid][pDuty] == 0) { if(success == 1) { SendClientMessage(playerid, COLOR_ORANGE, "* You are now Robbing the city Hall, please remain in the checkpoint for 60 Seconds!"); RobbingTime[playerid] = 60; RobCityHallTimer = SetTimerEx("RobCityHall",1000,true,"i",playerid); WantedPoints[playerid] = 5; SetPlayerCriminal(playerid,255, "Robbing the City Hall"); PlayerInfo[playerid][pRobTime] = 900; CityHallRobbedRecently = 1; SetTimer("UnsetCityHallRob",1500000,false); OnePlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); // Rob Lookout } else { SendClientMessage(playerid, COLOR_ORANGE, "* You failed to rob the City Hall!"); WantedPoints[playerid] = 2; SetPlayerCriminal(playerid,255, "Attempting to rob the City Hall"); PlayerInfo[playerid][pRobTime] = 500; } } else { SendClientMessage(playerid, COLOR_GREY, "* Go Off duty first!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "* You need a deadly weapon to perform this Act!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "* You're not at the City Hall Rob Point!"); return 1; } return 1; } |