Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:pvozila(playerid,params[])
- {
- new Float:Pos[4];
- new vehid = GetPlayerVehicleID(playerid);
- if(PlayerInfo[playerid][pAdmin] < 5) return GRESKA(playerid,"Nemate ovlascenje!");
- GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
- GetPlayerFacingAngle(playerid,Pos[3]);
- CarInfo[vehid][cOriginLocationx] = Pos[0];
- CarInfo[vehid][cOriginLocationy] = Pos[1];
- CarInfo[vehid][cOriginLocationz] = Pos[2];
- CarInfo[vehid][cOriginAngle] = Pos[3];
- SacuvajAuto(vehid);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement