gabydemocray Posted September 3, 2011 Report Share Posted September 3, 2011 Cum pot rezolva aceste erori? Link to comment Share on other sites More sharing options...
IcE. Posted September 3, 2011 Report Share Posted September 3, 2011 Nu ai functia PlayerInfo definita in FS, incerca sa bagi acel FS in gm.Nu mai crea atatea topicuri pentru ori ce. Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis! Link to comment Share on other sites More sharing options...
Guest farse Posted September 4, 2011 Report Share Posted September 4, 2011 Variabila,nu functia.Daca pui FS-ul ala in GM,nu cred ca va mai aparea eroarea.Daca il pui,nu trantesti tot codul din FS undeva prin gm .. te uiti la callback-uri( OnPlayerConnect/OnPlayerCommandText/etc ) din fs,cauti in GM,si le pui( ce e la OnPlayerConnect din FS pui in OnPlayerConnect din GM ) Link to comment Share on other sites More sharing options...
gabydemocray Posted September 4, 2011 Author Report Share Posted September 4, 2011 il bag in gm si uite cum imi apare Link to comment Share on other sites More sharing options...
IstuntmanI Posted September 4, 2011 Report Share Posted September 4, 2011 Ai uitat o } sau cine stie ce alta prostie ai facut pe acolo, fi-i atent cand adaugi un FS in GM.new/forward/stock/public din FS se pun langa celelalte din GMOnFilterScriptInit/Exit din GM se pune la OnGameModeInit/Exit din GMOnPlayerDeath din FS la OnPlayerDeath din GMOnPlayerEnterVehicle din FS la OnPlayerEnterVehicle din GMetc. Link to comment Share on other sites More sharing options...
gabydemocray Posted September 4, 2011 Author Report Share Posted September 4, 2011 trebuie sa bag tot ce in FS in GM nu? Link to comment Share on other sites More sharing options...
IstuntmanI Posted September 4, 2011 Report Share Posted September 4, 2011 trebuie sa bag tot ce in FS in GM nu?Ce intrebare e si asta ? Normal ca da, inafara de includele care le ai in GM deja si functiile care le ai in GM deja. Link to comment Share on other sites More sharing options...
gabydemocray Posted September 4, 2011 Author Report Share Posted September 4, 2011 nu gasesc in GM :public OnFilterScriptInit Link to comment Share on other sites More sharing options...
CrisTany Posted September 4, 2011 Report Share Posted September 4, 2011 Ce este in FS la OnFilterScriptInit trebuie bagat in GM la Public OnGameModeInit() Link to comment Share on other sites More sharing options...
gabydemocray Posted September 4, 2011 Author Report Share Posted September 4, 2011 ms.asta: GetVehicleInfrontID (vehid) unde o pun ca nu gasesc in gm Link to comment Share on other sites More sharing options...
IstuntmanI Posted September 4, 2011 Report Share Posted September 4, 2011 ms.asta: GetVehicleInfrontID (vehid) unde o pun ca nu gasesc in gmEste o functie, o pui oriunde in script. ( nu intr-un callback, ci langa alte functii ) Link to comment Share on other sites More sharing options...
gabydemocray Posted September 4, 2011 Author Report Share Posted September 4, 2011 Am bagat Fs-ul in GM si imi dau erorile astea :Astea sunte liniile la care dau erorile :7573: if(newstate == PLAYER_STATE_PASSENGER) // TAXI & BUSSES 12266:for(new i = 0; i < sizeof(TurfInfo); i++) 16009:AttachObjectToVehicle (VehRadarID [vehid], vehid, 0.2, 0.50, 0.3, 0.0, 0.0, 90.0); 16109:if(strcmp(cmd, "/start", true) == 0) Link to comment Share on other sites More sharing options...
gabydemocray Posted September 4, 2011 Author Report Share Posted September 4, 2011 ce sa fac cu erorile astea? Link to comment Share on other sites More sharing options...
cosmon Posted September 5, 2011 Report Share Posted September 5, 2011 In general eroarea unreachable code este din cauza ca dupa return 0; sau return 1; ai mai scris ceva iinnainte sa inchizi acolada ! Link to comment Share on other sites More sharing options...
Question
gabydemocray
Cum pot rezolva aceste erori?
Link to comment
Share on other sites
13 answers to this question
Recommended Posts