18.06.2011, 18:28
I'm using this script:
I want to: If he is already in a car, he cant spawn a car and it will say:
SendClientMessage(playerid, 0xFFFFFFFF, "You are already in a car, leave your car to spawn a new one.");
PHP код:
new veh;
veh = CreateVehicle(415, 2135.12, -2552.65, 13.55, 90, 0, 0, 100000000000000000000000000);
PutPlayerInVehicle(playerid,veh,0);
SetCameraBehindPlayer(playerid);
SendClientMessage(playerid, 0xFFFFFFFF, "You are already in a car, leave your car to spawn a new one.");