Neighbourhood Zapper
-
Posts
9 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by Neighbourhood Zapper
-
-
Nick: Cheeze
Problema: Bun,deci daca dau /gov apare PSA from Sheriff %s chiar daca sunt si in EMS si in PD si in GOV si celelalte factiuni guvernamentale.Vreau sa apara la fiecare diferit.
Ex: Daca esti medic sa apara PSA from Director %s :
Daca esti GOV PSA from Mayor %s:
Erori / warnings: Nu am/
Lini/script: [pawn]CMD:gov(playerid, params[])
{
new string[128];
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
if(!IsACop(playerid) && !IsAGov(playerid) && !IsMedic(playerid) && !IsFBI(playerid) && !IsARES(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an BCSD Officer/Government Official.");
if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a faction leader.");
if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "[usage]: (/gov)ernment announcement [text]");
if(AntiAdv(playerid, params)) return 1;
format(string, sizeof(string), "|___________ %s News Announcement ___________|", RPFNEx(playerid));
SendClientMessageToAll(COLOR_WHITE, string);
format(string, sizeof(string), "** PSA from Sheriff %s %s: %s **", RPFRN(playerid), RPN(playerid), params);
SendClientMessageToAll(COLOR_BLUE, string);
return 1;
}[/pawn]
Ai incercat sa rezolvi singur ?: Da,dar nu am idee cum sa incep si cum sa procedez.
-
9764
[pawn]SetPlayerPos(playerb, RandomAPrison[rand][0], RandomAPrison[rand][1],RandomAPrison[rand][2], RandomAPrison[rand][3], RandomAPrison[rand][4],RandomAPrison[rand][5], RandomAPrison[rand][6], RandomAPrison[rand][7],RandomAPrison[rand][8], RandomAPrison[rand][9], RandomAPrison[rand][10],RandomAPrison[rand][11], RandomAPrison[rand][12], RandomAPrison[rand][13]);[/pawn]
Warning
[pawn]C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(39482) : warning 203: symbol is never used: "BombPrice"[/pawn]
dau ctrl + g si linia aia nu imi apare , ultima linie e 39481
-
Nick: Neighbourhood zapper
Problema: La compilare am primit 2 erori
Erori / warnings: [pawn]C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(9764) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(12848) : error 017: undefined symbol "cmd_n"
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(12853) : error 017: undefined symbol "cmd_n"
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(39492) : warning 203: symbol is never used: "BombPrice"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Lini/script:[/pawn]
Ai incercat sa rezolvi singur ?: Da,dar nu reusesc.
Liniile cu erori : [pawn]C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(12848) : error 017: undefined symbol "cmd_n"
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(12853) : error 017: undefined symbol "cmd_n"[/pawn]
-
am rezolvat,nu am pus bine systemul,multumesc Mafia.
-
REzolvat,multumesc Mafia.
-
Nick: Der.Prinz
Problema: Am pus un system /windows si imi da erori/
Erori / warnings: [pawn]C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(151) : error 025: function heading differs from prototype
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(152) : error 055: start of function body without function header
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(153) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(155) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(159) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(164) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(169) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(171) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(173) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(177) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(179) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(185) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(187) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(193) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(195) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(197) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(200) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(203) : error 010: invalid function or declaration
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(10197) : warning 202: number of arguments does not match definition
C:\Users\Lil Z and Corricanne\Desktop\BC RP v1.1\BC RP\gamemodes\BCRP.pwn(40074) : warning 203: symbol is never used: "VehicleWindows"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
18 Errors.[/pawn]
Lini/script: [pawn]//Windows
new VehicleWindows[MAX_VEHICLES] = 0;
OnPlayerText(playerid, text);
{
if(IsPlayerInAnyVehicle(playerid))
{
if(VehicleWindows[playerid] == 0)
{
SendClientMessage(playerid, COLOR, "[Windows Up]: %s", text);
}
else if(VehicleWindows[playerid] == 1)
{
SendClientMessage(playerid, COLOR, "[Windows Down]: %s", text);
}
}
return 1;
}
//---[Then, the /windows command:]---//
if(!strcmp(cmdtext, "/windows", true) || !strcmp(cmdtext, "/wi", true))
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
{
SendClientMessage(playerid, COLOR_GREY, " This vehicle doesn't have the window to roll");
return 1;
}
if(VehicleWindows[GetPlayerVehicleID(playerid)] == 0)
{
VehicleWindows[GetPlayerVehicleID(playerid)] = 1;
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s rolls down the window.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return 1;
}
else if(VehicleWindows[GetPlayerVehicleID(playerid)] == 1)
{
VehicleWindows[GetPlayerVehicleID(playerid)] = 0;
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s rolls up the window.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return 1;
}
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You need to be in the vehicle to use this function !");
return 1;
}
}
return 1;
}[/pawn]
Ai incercat sa rezolvi singur ?: Da,dar...nu reusesc.
-
Nick: Der.Prinz
Problema: Cum fac sa scot iconitele de pe minimap?
Erori / warnings: N/A
Lini/script: 40016
Ai incercat sa rezolvi singur ?: Da,dar tot nu reusesc sa gasesc.
-
[pawn]C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(274) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(296) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(318) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(340) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(362) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(384) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(406) : error 017: undefined symbol "IsPlayerNPC"
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(433) : warning 202: number of arguments does not match definition
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(434) : error 017: undefined symbol "CreatePlayer3DTextLabel"
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(435) : warning 202: number of arguments does not match definition
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(436) : error 017: undefined symbol "DeletePlayer3DTextLabel"
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
C:\Users\LILZAN~1\Desktop\crp\Pawno\include\streamer.inc(454) : error 017: undefined symbol "UpdatePlayer3DTextLabelText"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(3231) : error 017: undefined symbol "GetVehicleVelocity"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(3231) : error 017: undefined symbol "GetPlayerVelocity"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4652) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4653) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4660) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4672) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4676) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4688) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4692) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4696) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4700) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4704) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4708) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4712) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4716) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Lil Z and Corricanne\Desktop\crp\gamemodes\iceplay.pwn(4728) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
[/pawn]
Ajutor /gov
in Arhivă probleme
Posted
Nu ma,deci...sunt PD da? Bun...
Dau /gov si apare PSA from Sheriff : bla bla
daca sunt in medic faction sau guvernamant tot PSA from SHERIFF apare, nu vreau sa apara Sheriff vreau sa apara asa
La medic
PSA from Hospital Director %s : Bla bla
iar la Guvernamant
PSA from Mayor of Bone County %s : bla bla