error pwn - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error pwn (
/showthread.php?tid=558930)
error pwn -
s3ek - 19.01.2015
Код HTML:
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI/y_files.inc(100) : error 025: function heading differs from prototype
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI/y_files.inc(100) : error 025: function heading differs from prototype
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI\y_amx.inc(391) : warning 219: local variable "base" shadows a variable at a preceding level
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI\y_amx.inc(439) : warning 219: local variable "base" shadows a variable at a preceding level
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI\y_amx.inc(660) : warning 219: local variable "base" shadows a variable at a preceding level
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI\y_hooks/impl.inc(1179) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterCheckpoint")
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI\y_hooks/impl.inc(1222) : warning 201: redefinition of constant/macro (symbol "OnPlayerLeaveCheckpoint")
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI\y_hooks/impl.inc(1755) : warning 235: public function lacks forward declaration (symbol "OnUnoccupiedVehicleUpdate")
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI\y_hooks/impl.inc(2336) : warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\pawno\include\YSI\y_hooks/impl.inc(2382) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(2801) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30175) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30176) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30177) : error 017: undefined symbol "EditAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30183) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30184) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30185) : error 017: undefined symbol "EditAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30191) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30192) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30193) : error 017: undefined symbol "EditAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30199) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30200) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30201) : error 017: undefined symbol "EditAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30207) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30208) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30209) : error 017: undefined symbol "EditAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30215) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30216) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30217) : error 017: undefined symbol "EditAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30223) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30224) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30225) : error 017: undefined symbol "EditAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30232) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrateur\Bureau\SATDM~RP V9_FINAL\Gamemodes\gm.pwn(30233) : error 017: undefined symbol "SetPlayerAttachedObject"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
PHP код:
stock setstunt(playerid) {
instunt[playerid] = 1;
}
CMD:bwchq(playerid,params[]) {
if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid,COLOR_BRIGHTRED,"You cannot escape your punishment!");
TimedTele(playerid, "Welcome to The Black Warriors Clan HQ!", 28.712112426758,2071.857421875,17.7453125, 0, 10);
return 1;
}
CMD:hat(playerid,params[]) {
ShowPlayerDialog(playerid,DIALOGID3+50,DIALOG_STYLE_LIST,"Wear Hat","Hat 1 + Black Glass \nHat 2 + Black Glass \nHat 3 + Black Glass \nHat 4 + Black Glass \nHat 5 + Black Glass \nHat 6 + Black Glass \nHat 7 + Black Glass \nHat 8 + Black Glass \nHat 9 + Black Glass\nHat 10 + Black Glass\nHat 11 + Black Glass\nHat 12 + Black Glass\nHat 13 + Black Glass\nHat 14 + Black Glass\nHat 15 + Black Glass \nHat 16 + Black Glass ","Select","Close");
return 1;
}
CMD:removehat(playerid,params[]) {
for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, i)) RemovePlayerAttachedObject(playerid, i);
}
return 1;
}
CMD:edithat(playerid,params[]) {
EditAttachedObject(playerid, 1);
SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: ~g~Change The Place Of ~r~Hat !");
return 1;
}
CMD:resetunbuyables(playerid,params[]) {
if (PlayerInfo[playerid][Level] >= 5 && PlayerInfo[playerid][LoggedIn] == 1) {
for(new v = 0; v < MAX_VEHICLES; v++){
if(VehicleInfo[v][buybar] ==1) {
VehicleInfo[v][buybar] =0;
VehicleInfo[v][x_spawn] = VehicleInfo[v][ox_spawn];
VehicleInfo[v][y_spawn] = VehicleInfo[v][oy_spawn];
VehicleInfo[v][z_spawn] = VehicleInfo[v][oz_spawn];
VehicleInfo[v][za_spawn] = VehicleInfo[v][oza_spawn];
}
}
SendClientMessage(playerid,COLOR_RED, "Unbuyable Vehicles Have Been Set Buyable and Unparked.");
}
return 1;
}
Re: error pwn -
ChromeAmazing - 20.01.2015
You need to define the symbols
Re: error pwn -
xVIP3Rx - 20.01.2015
I think you forgot to "#include <a_samp>" ?
Re: error pwn -
Crayder - 20.01.2015
No, I'm guessing its a missing bracket. (100% sure!)
If it is, it's not in these commands.
Ps. It could be anywhere, good luck... D: