25.07.2015, 21:56
PHP код:
//@_debug - portas cars
CMD:comando(playerid)
{
new Float:GG[3];
GetPlayerPos(playerid, GG[0], GG[1], GG[2]);
CreateVehicle(402, GG[0], GG[1] + 2, GG[2], 0.0, -1, -1, -1, 1);
return 1;
}
CMD:comando2(playerid)
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehicleParamsCarDoors(vehicleid, 1, 1, 1, 1);
return 1;
}
CMD:comando3(playerid)
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehicleParamsCarDoors(vehicleid, 0, 0, 0, 0);
return 1;
}