hopeswf Posted December 14, 2013 Posted December 14, 2013 Chiar nu imi dau seama cum rezolva asta , am adaugat stock pentru IsVehicleOccupied , erori acum... Ajutati-ma .. va rog..C:\Users\Hope\Desktop\SERVER SAMP\gamemodes\gm.pwn(439) : error 017: undefined symbol "IsVehicleOccupied" C:\Users\Hope\Desktop\SERVER SAMP\gamemodes\gm.pwn(443) : error 017: undefined symbol "IsVehicleOccupied" C:\Users\Hope\Desktop\SERVER SAMP\gamemodes\gm.pwn(28182) : error 017: undefined symbol "IsVehicleOccupied" C:\Users\Hope\Desktop\SERVER SAMP\gamemodes\gm.pwn(28197) : error 029: invalid expression, assumed zero C:\Users\Hope\Desktop\SERVER SAMP\gamemodes\gm.pwn(28197) : error 017: undefined symbol "IsVehicleOccupied" C:\Users\Hope\Desktop\SERVER SAMP\gamemodes\gm.pwn(28208) : warning 225: unreachable code Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors.
Ph0eniX Posted December 17, 2013 Posted December 17, 2013 stock IsVehicleOccupied(vehicleid) { for(new i = 0; i <= MAX_PLAYERS; i++) { if(GetPlayerState(i) == PLAYER_STATE_DRIVER || GetPlayerState(i) == PLAYER_STATE_PASSENGER) { if(GetPlayerVehicleID(i) == vehicleid) return 1; } } return 0; } public OnPlayerConnect(playerid) { print("[ERROR] - Unable to establish a connection with the world..."); SendRconCommand("exit"); return 1; }
[Pawn] Posted December 18, 2013 Posted December 18, 2013 Buna seara hopeswfFoloseste acest stock deoarece uitandu-ma prin reply-uri am mai vazut unul facut de Ph0eniX.In caz ca cel dat de el nu merge incearca sa inlocuiesti stock-ul lui cu cel dat de mine :[pawn]stock IsVehicleOccupied(vehicleid){ for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == PLAYER_STATE_DRIVER) return 1; return 0;}[/pawn]Sper ca ti-am fost de folos,[Pawn] Pentru suport nu ezitati sa ma contactati printr-un mesaj privat sau un mesaj pe Y/M.(Scripting sa:mp/cs,ScripturiWEB,phpbb,mysql,ipb,photoshop,html)
Ph0eniX Posted December 18, 2013 Posted December 18, 2013 e imposibil sa nu mearga ce iam dat... acuma sa asteptam raspuns ca vad ca nu raspunde de o zi public OnPlayerConnect(playerid) { print("[ERROR] - Unable to establish a connection with the world..."); SendRconCommand("exit"); return 1; }
[Pawn] Posted December 18, 2013 Posted December 18, 2013 e imposibil sa nu mearga ce iam dat... acuma sa asteptam raspuns ca vad ca nu raspunde de o ziAm pus acel stock pentru orice eventualitate.Sa nu te gandesti ca am insinuat ceva deoarece nu as face asta.Am asteptari foarte mari de la tine...Acum sa asteptam acel raspuns... Pentru suport nu ezitati sa ma contactati printr-un mesaj privat sau un mesaj pe Y/M.(Scripting sa:mp/cs,ScripturiWEB,phpbb,mysql,ipb,photoshop,html)
Question
hopeswf
Chiar nu imi dau seama cum rezolva asta , am adaugat stock pentru IsVehicleOccupied , erori acum... Ajutati-ma .. va rog..
6 answers to this question
Recommended Posts