21.06.2015, 13:23
hello,
i need help with vcall function can anyone say me how to put the command /vcall to call vehicles
i need help with vcall function can anyone say me how to put the command /vcall to call vehicles
CMD:v(playerid, params[])
{
new Car, Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
Car = CreateVehicle(411, x, y, z, a, -1, -1, -1);
PutPlayerInVehicle(playerid, (Car), 0);
return 1;
}