Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: jimmy on February 12, 2012, 04:55:22 pm
-
hy guys i need /c getcar because Gups Getcar is bugged when i getcar the car it come when i sit on it and then getcar car again it not come plzzz give me
-
Jimmy i dont have a solution for that a point to ponder is that it gets the car again and again till you dont sit in it soo i think you should creat a new function :
[pawn]public OnExitVehicle
{
RespawnVehicle(GetPlayerVehiceID(playerid);
}[/pawn]
Not Tested Just Giving An Example!
-
Don't listen to Rasikh
[pawn]public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
RespawnVehicle(vehicleid);
return 1;
}[/pawn]
-
Shadow thanks for reply but when i use /c respawn bla bla and getcar again it will not come can u made a right cmd for getcar and mute plzzz
-
Uuh... Seems like PAWN doesn't support getting a car to you after you have been into it.. So it's a lost cause.
-
ok Thanks
-
Uuh... Seems like PAWN doesn't support getting a car to you after you have been into it.. So it's a lost cause.
public OnPlayerExitVehicle(playerid, vehicleid)
{
RemovePlayerFromVehicle(playerid);
SetVehicleToRespawn(vehicleid);
return 1;
}
use this :)