K0hL Posted April 15, 2018 Posted April 15, 2018 C:\Users\Vlad\Desktop\test\gamemodes\rpgro.pwn(44690) : error 017: undefined symbol "thecar" PutPlayerInVehicle(playerid, thecar, 0); ce este gresit?
0 ASGOOD Posted April 15, 2018 Posted April 15, 2018 DU-te sub include-uri si pui "new thecar;". asgood.ro
0 StefanAdv Posted April 15, 2018 Posted April 15, 2018 4 hours ago, K0hL said: C:\Users\Vlad\Desktop\test\gamemodes\rpgro.pwn(44690) : error 017: undefined symbol "thecar" PutPlayerInVehicle(playerid, thecar, 0); ce este gresit? new thecar[aici pui nr vehiculelor +1] ,dar daca e doar 1 poti pune doar new thecar; si aia e bft!
0 K0hL Posted April 15, 2018 Author Posted April 15, 2018 3 hours ago, ASGOOD said: DU-te sub include-uri si pui "new thecar;". C:\Users\Vlad\Desktop\test\gamemodes\rpgro.pwn(21) : fatal error 100: cannot read from file: "new thecar;"
0 ASGOOD Posted April 15, 2018 Posted April 15, 2018 (edited) Fara " , scriptere Edited April 15, 2018 by ASGOOD asgood.ro
0 K0hL Posted April 16, 2018 Author Posted April 16, 2018 22 hours ago, ASGOOD said: Fara " , scriptere fara ce ma?
0 K0hL Posted April 16, 2018 Author Posted April 16, 2018 22 hours ago, ASGOOD said: Fara " , scriptere imi da aceasi eraoare
0 valivaly96 Posted April 16, 2018 Posted April 16, 2018 (edited) Acum 15 minute, K0hL a spus: imi da aceasi eraoare omule new thecar, fara include. wtf invata frate diferentele dintre variabile si includeuri.Plus ca nu o defimeati acolo ca nu e variabila globala ci variabila locala si o definesti in comandă. probabil ca ai CMD:closestcar(player,params[]){ new thecar; //restul de cod } P.S:De curiozitate cati ani ai? Edited April 16, 2018 by valivaly96
0 RusKo Posted April 16, 2018 Posted April 16, 2018 CMD:closestcar(playerid, params[]) // Inceput comanda { // Deschidem acolada if(PlayerInfo[playerid][pAdmin] < 1)return SCM(playerid, COLOR_ERROR, "Eroare: Nu esti admin"); // Verificam daca acel player are admin, si daca nu are sa ii arate mesajul de la 'AdminOnly'. if(IsPlayerInAnyVehicle(playerid))return SCM(playerid, COLOR_GREY, "Esti deja intr-un vehicul."); // Verificam daca adminul este deja intr-o masina. new thacar = GetClosestVehicle(playerid); PutPlayerInVehicle(playerid, thacar, 0); // Cand da (/closestcar) sa il pun direct in masina. SCM(playerid, COLOR_GREY,"Ai fost teleportat in cel mai apropiat vehicul."); // Ii arata mesajul ca a fost teleportat la masina ce mai apoate e el. return 1; // Se termina comanda } // Inchidem acolada Poftim comanda Beauty is in the eye of the beholder
Question
K0hL
C:\Users\Vlad\Desktop\test\gamemodes\rpgro.pwn(44690) : error 017: undefined symbol "thecar"
PutPlayerInVehicle(playerid, thecar, 0);
ce este gresit?
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now