Unique Posted April 29, 2016 Report Share Posted April 29, 2016 Am incercat sa adaug 2 comenzi in GameMode-ul JustGame si imi da urmatoarele errori : C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14156) : error 017: undefined symbol "eventenabled" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14158) : error 017: undefined symbol "pickup_event" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14159) : error 017: undefined symbol "evex" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14159) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14160) : error 017: undefined symbol "evey" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14160) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14161) : error 017: undefined symbol "evez" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14161) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14162) : error 017: undefined symbol "eventenabled" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14162) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14163) : error 017: undefined symbol "interiorevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14164) : error 017: undefined symbol "virtuallevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14171) : error 017: undefined symbol "pickup_event" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14172) : error 017: undefined symbol "evex" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14172) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14173) : error 017: undefined symbol "evey" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14173) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14174) : error 017: undefined symbol "evez" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14174) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14175) : error 017: undefined symbol "eventenabled" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14175) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14176) : error 017: undefined symbol "interiorevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14176) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14177) : error 017: undefined symbol "virtuallevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14177) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14185) : error 017: undefined symbol "AdminOnly" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14192) : error 017: undefined symbol "pPaintBallG" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14195) : error 017: undefined symbol "eventenabled" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14197) : error 017: undefined symbol "interiorevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14198) : error 017: undefined symbol "virtuallevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14199) : error 017: undefined symbol "SetPlayerPosEx" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 21 Errors. Comenzile sunt CMD:placegotoevent(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1) { new Float:x, Float:y, Float:z, sendername[25], string[256]; GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerPos(playerid, x, y, z); if(!eventenabled) { pickup_event = CreatePickup(1314, 23, x, y, z, GetPlayerVirtualWorld(playerid)); evex = x; evey = y; evez = z; eventenabled = 1; interiorevent = GetPlayerInterior(playerid); virtuallevent = GetPlayerVirtualWorld(playerid); format(string, sizeof(string), "(( Info: Admin %s activated event teleport, type /gotoevent. ))", sendername); SendClientMessageToAll(COLOR_LIGHTRED,string); return 1; } else { DestroyPickup(pickup_event); evex = 0.0; evey = 0.0; evez = 0.0; eventenabled = 0; interiorevent = 0; virtuallevent = 0; format(string, sizeof(string), "(( Info: Admin %s deactivated event teleport. ))", sendername); SendClientMessageToAll(COLOR_LIGHTRED,string); } return 1; } else { SendClientMessage(playerid, COLOR_ERROR, AdminOnly); } return 1; } CMD:gotoevent(playerid, params[]) { if(gLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(PlayerInfo[playerid][pPaintBallG] > 0) return SendClientMessage(playerid, COLOR_WHITE, "You can't use this command at Paintball."); if(IsPlayerConnected(playerid)) { if(eventenabled) { SetPlayerInterior(playerid, interiorevent); SetPlayerVirtualWorld(playerid, virtuallevent); SetPlayerPosEx(playerid, evex, evey, evez); SendClientMessage(playerid, COLOR_LIGHTBLUE, "You have been teleported at event."); } else return SendClientMessage(playerid, COLOR_LIGHTRED, "No event teleport activated."); } return 1; } Aveti idee ce sa fac ? Quote Link to comment Share on other sites More sharing options...
0 Extremys Posted April 29, 2016 Report Share Posted April 29, 2016 Iti recomand sa definestii toate erorile la care scrie: error 017: undefined symbol "virtuallevent" Quote Link to comment Share on other sites More sharing options...
0 Uzzi25 Posted May 1, 2016 Report Share Posted May 1, 2016 (edited) La 29.04.2016 la 21:55, Extremys a spus: Iti recomand sa definestii toate erorile la care scrie: error 017: undefined symbol "virtuallevent" Edited May 1, 2016 by Uzzi25 Quote Link to comment Share on other sites More sharing options...
0 Extremys Posted May 1, 2016 Report Share Posted May 1, 2016 Acum 9 ore, Uzzi25 a spus: Ce e? Quote Link to comment Share on other sites More sharing options...
0 Uzzi25 Posted May 1, 2016 Report Share Posted May 1, 2016 Acum 5 ore, Extremys a spus: Ce e? Ma refeream ca asta trebuie sa defineasca erorile error 017: undefined symbol Quote Link to comment Share on other sites More sharing options...
Question
Unique
Am incercat sa adaug 2 comenzi in GameMode-ul JustGame si imi da urmatoarele errori :
C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14156) : error 017: undefined symbol "eventenabled" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14158) : error 017: undefined symbol "pickup_event" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14159) : error 017: undefined symbol "evex" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14159) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14160) : error 017: undefined symbol "evey" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14160) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14161) : error 017: undefined symbol "evez" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14161) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14162) : error 017: undefined symbol "eventenabled" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14162) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14163) : error 017: undefined symbol "interiorevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14164) : error 017: undefined symbol "virtuallevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14171) : error 017: undefined symbol "pickup_event" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14172) : error 017: undefined symbol "evex" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14172) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14173) : error 017: undefined symbol "evey" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14173) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14174) : error 017: undefined symbol "evez" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14174) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14175) : error 017: undefined symbol "eventenabled" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14175) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14176) : error 017: undefined symbol "interiorevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14176) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14177) : error 017: undefined symbol "virtuallevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14177) : warning 215: expression has no effect C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14185) : error 017: undefined symbol "AdminOnly" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14192) : error 017: undefined symbol "pPaintBallG" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14195) : error 017: undefined symbol "eventenabled" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14197) : error 017: undefined symbol "interiorevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14198) : error 017: undefined symbol "virtuallevent" C:\Users\George\Desktop\Power-Game's\gamemodes\JG.pwn(14199) : error 017: undefined symbol "SetPlayerPosEx" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 21 Errors.
Comenzile sunt
CMD:placegotoevent(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1) { new Float:x, Float:y, Float:z, sendername[25], string[256]; GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerPos(playerid, x, y, z); if(!eventenabled) { pickup_event = CreatePickup(1314, 23, x, y, z, GetPlayerVirtualWorld(playerid)); evex = x; evey = y; evez = z; eventenabled = 1; interiorevent = GetPlayerInterior(playerid); virtuallevent = GetPlayerVirtualWorld(playerid); format(string, sizeof(string), "(( Info: Admin %s activated event teleport, type /gotoevent. ))", sendername); SendClientMessageToAll(COLOR_LIGHTRED,string); return 1; } else { DestroyPickup(pickup_event); evex = 0.0; evey = 0.0; evez = 0.0; eventenabled = 0; interiorevent = 0; virtuallevent = 0; format(string, sizeof(string), "(( Info: Admin %s deactivated event teleport. ))", sendername); SendClientMessageToAll(COLOR_LIGHTRED,string); } return 1; } else { SendClientMessage(playerid, COLOR_ERROR, AdminOnly); } return 1; } CMD:gotoevent(playerid, params[]) { if(gLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(PlayerInfo[playerid][pPaintBallG] > 0) return SendClientMessage(playerid, COLOR_WHITE, "You can't use this command at Paintball."); if(IsPlayerConnected(playerid)) { if(eventenabled) { SetPlayerInterior(playerid, interiorevent); SetPlayerVirtualWorld(playerid, virtuallevent); SetPlayerPosEx(playerid, evex, evey, evez); SendClientMessage(playerid, COLOR_LIGHTBLUE, "You have been teleported at event."); } else return SendClientMessage(playerid, COLOR_LIGHTRED, "No event teleport activated."); } return 1; }
Aveti idee ce sa fac ?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.