20.12.2015, 20:02
I create machines at the objects and get a bug. With what it can be connected? I do not use cheats and functions DisableRemoteVehicleCollisions.
My code:
Video:
[ame]http://www.youtube.com/watch?v=5IuY0SjHEAo[/ame]
PS: sorry my bad english
My code:
PHP код:
COMMAND:veh(playerid, params[]) {
new vehicleid;
if(!sscanf(params, "i", vehicleid)) {
new Float:Cord[3];
GetPlayerPos(playerid, Cord[0], Cord[1], Cord[2]);
new id = CreateVehicle(vehicleid, Cord[0], Cord[1], Cord[2], 0.0, -1, -1, 1000);
SetVehicleHealth(id, 1000.0);
PutPlayerInVehicle(playerid, id, 0);
}
return 1;
}
[ame]http://www.youtube.com/watch?v=5IuY0SjHEAo[/ame]
PS: sorry my bad english