/car command to spawn Infernus
#6

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
I think this is a bit wrong, it could put you in any infernus across the server. Also, params[] is not needed.
Therefore,
pawn Код:
CMD:car(playerid)
{
    new Float:pos[4];
    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
    GetPlayerFacingAngle(playerid, pos[3]);
    new vehicle = CreateVehicle(411, pos[0], pos[1], pos[2], pos[3], 1, 1, 1200);
    PutPlayerInVehicle(playerid, vehicle, 0);
        SendClientMessage(playerid, -1, "Your infernus has been spawned.");
}
Oh yeah, thanks for correcting
Reply


Messages In This Thread
/car command to spawn Infernus - by Vytixz - 05.02.2013, 22:40
Re: /car command to spawn Infernus - by zde5 - 05.02.2013, 22:41
Re: /car command to spawn Infernus - by AphexCCFC - 06.02.2013, 01:48
Re: /car command to spawn Infernus - by mrtms - 06.02.2013, 03:00
Re: /car command to spawn Infernus - by RajatPawar - 06.02.2013, 05:16
Re: /car command to spawn Infernus - by AphexCCFC - 06.02.2013, 12:19
Re: /car command to spawn Infernus - by [WA]iRonan - 06.02.2013, 12:43
Re: /car command to spawn Infernus - by Vytixz - 06.02.2013, 23:57
Re: /car command to spawn Infernus - by AphexCCFC - 07.02.2013, 00:00

Forum Jump:


Users browsing this thread: 6 Guest(s)