Carspawner don't work
#9

Quote:
Originally Posted by Clive
Посмотреть сообщение
pawn Код:
forward CreatePlayerVehicle(playerid,modelid);
public CreatePlayerVehicle(playerid,modelid)
{
    if(PlayerVehicle[playerid]!=0) return 0;
    new Float:x, Float:y, Float:z, Float:angle;
    GetPlayerPos(playerid, x, y, z);
    GetPlayerFacingAngle(playerid, angle);
    new vehicleid = CreateVehicle(modelid, x, y, z, angle, -1, -1, -1);
    PutPlayerInVehicle(playerid, vehicleid, 0);
    SetVehicleVirtualWorld(vehicleid, GetPlayerVirtualWorld(playerid));
    LinkVehicleToInterior(vehicleid, GetPlayerInterior(playerid));
    PlayerVehicle[playerid] = 1;
    return 1;
}
Thanks but don't work ... :-/ <_<
Reply


Messages In This Thread
Carspawner don't work - by Michael@Belgium - 26.01.2011, 10:55
Re: Carspawner don't work - by iggy1 - 26.01.2011, 11:07
Re: Carspawner don't work - by Not available - 26.01.2011, 11:16
Re: Carspawner don't work - by Michael@Belgium - 26.01.2011, 11:44
Re: Carspawner don't work - by iggy1 - 26.01.2011, 11:46
Re: Carspawner don't work - by Michael@Belgium - 26.01.2011, 12:03
Re: Carspawner don't work - by Michael@Belgium - 26.01.2011, 14:08
Re: Carspawner don't work - by HyperZ - 26.01.2011, 14:18
Re: Carspawner don't work - by Michael@Belgium - 26.01.2011, 14:29

Forum Jump:


Users browsing this thread: 1 Guest(s)