Sammich Posted March 4, 2015 Report Share Posted March 4, 2015 CMD:apark ( playerid, params [ ] ) { if (P_DATA[playerid][pAdmin] < 4) return SendClientMessage ( playerid, -1, "* Nu esti autorizat." ); new const vehicleid = GetPlayerVehicleID ( playerid ); GetVehiclePos ( vehicleid, vInfo [ vehicleid ] [ vPos ] [ 0 ], vInfo [ vehicleid ] [ vPos ] [ 1 ], vInfo [ vehicleid ] [ vPos ] [ 2 ] ); GetVehicleZAngle ( vehicleid, vInfo [ vehicleid ] [ vPos ] [ 3 ] ); SaveVehicle ( vMySQLID[ vehicleid ], VEH_TYPE_STATS ); SendClientMessage ( playerid, -1, "* Ai parcat vehiculul aici." ); return 1; } Asta este comanda Si cand dau /vehh pentru a creea o masina si pe urma vreau sa o parchez in alta parte nu se salveaza pozitia sau ceva de genu,va rog ajutati-ma!! Multumesc! Link to comment Share on other sites More sharing options...
0 MAXYMUSS Posted March 5, 2015 Report Share Posted March 5, 2015 Probabil masinile de la /vehh nu sunt personale si dupa restart dispar , arata si comanda /vehh Link to comment Share on other sites More sharing options...
0 Sammich Posted March 5, 2015 Author Report Share Posted March 5, 2015 Probabil masinile de la /vehh nu sunt personale si dupa restart dispar , arata si comanda /vehh Pai nu trebuie sa fie personala,comanda /vehh este o camanda pentru a creeao masina care nu are proprietar Link to comment Share on other sites More sharing options...
0 MAXYMUSS Posted March 5, 2015 Report Share Posted March 5, 2015 (edited) Pai ti-ai raspuns singur , de ce ar merge apark la o masina fara proprietar ? , daca vrei sa faci o masina statica sa ramana pe server folosesti : http://wiki.sa-mp.com/wiki/AddStaticVehicleEx Edited March 5, 2015 by MAXYMUSS Link to comment Share on other sites More sharing options...
0 andy47 Posted March 6, 2015 Report Share Posted March 6, 2015 Respecta modelul! Link to comment Share on other sites More sharing options...
Question
Sammich
CMD:apark ( playerid, params [ ] )
{
if (P_DATA[playerid][pAdmin] < 4) return SendClientMessage ( playerid, -1, "* Nu esti autorizat." );
new const vehicleid = GetPlayerVehicleID ( playerid );
GetVehiclePos ( vehicleid, vInfo [ vehicleid ] [ vPos ] [ 0 ], vInfo [ vehicleid ] [ vPos ] [ 1 ], vInfo [ vehicleid ] [ vPos ] [ 2 ] );
GetVehicleZAngle ( vehicleid, vInfo [ vehicleid ] [ vPos ] [ 3 ] );
SaveVehicle ( vMySQLID[ vehicleid ], VEH_TYPE_STATS );
SendClientMessage ( playerid, -1, "* Ai parcat vehiculul aici." );
return 1;
}
Asta este comanda
Si cand dau /vehh pentru a creea o masina si pe urma vreau sa o parchez in alta parte nu se salveaza pozitia sau ceva de genu,va rog ajutati-ma!!
Multumesc!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts