CreateVehicle
#2

Hello!

Are you updated your server includes?

By the way, write your code so, CreateVehicle need a 1 for the sirene.

PHP код:
CMD:sveh(playeridparams[])
{
    new 
idFloat:pos[4], col[2];
    if(
sscanf(params"iii"idcol[0], col[1])) return SendClientMessage(playeridCOLOR_WHITE"USAGE: /veh [vehicleid/destroy] [color1] [color2]");
    if(
id 400 || id 611) return SendClientMessage(playeridCOLOR_GREY"Vehicles are between 400 and 611.");
    
GetPlayerPos(playeridpos[0], pos[1], pos[2]);
    
GetPlayerFacingAngle(playeridpos[3]);
    
CreateVehicle(idpos[0], pos[1], pos[2], pos[3], col[0], col[1], 120001);
    return 
1;

Reply


Messages In This Thread
CreateVehicle - by McGuiness - 02.05.2015, 16:18
Re: CreateVehicle - by Mencent - 02.05.2015, 16:19
Re: CreateVehicle - by ihatetn931 - 02.05.2015, 16:23
Re: CreateVehicle - by McGuiness - 02.05.2015, 16:24
Re: CreateVehicle - by Mencent - 02.05.2015, 16:25
Re: CreateVehicle - by ihatetn931 - 02.05.2015, 16:25
Re: CreateVehicle - by McGuiness - 02.05.2015, 16:28
Re: CreateVehicle - by McGuiness - 02.05.2015, 16:30
Re: CreateVehicle - by Mencent - 02.05.2015, 16:31
Re: CreateVehicle - by McGuiness - 02.05.2015, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)