[Include] Dynamic Vehicle Spawn Menu
#9

How to Actived this Script
Quote:

#define MAX_VEHICLE_GROUPS 100

new
VehicleGroups[MAX_VEHICLE_GROUPS] = -1;

CMD:veh(playerid, params[]) {

if(IsPlayerAdmin(playerid)) //Works for RCON admin!
{
new
VehicleModelID,
VehicleColorPrimary,
VehicleColorSecondary,
VehicleGroup[32],
UseThisID = -1
;

if(sscanf(params, "iiis[32]", VehicleModelID, VehicleColorPrimary, VehicleColorSecondary, VehicleGroup))
return SendClientMessage(playerid, 0xFFFFFFFF, "/veh [Model ID] [Primary Colour] [Secondary Colour] [Vehicle Group]");

for(new g; g < sizeof(VehicleGroups); g++)
{
if(VehicleGroups[g] == -1)
return UseThisID = g;
}

VehicleGroups[g] = CreateDynamicVehicleGroup(VehicleGroup);
AddDynamicVehicle(VehicleGroups[g], VehicleModelID, VehicleColorPrimary, VehicleColorSecondary);
UseThisID = -1;
}
return true;
}

is Not Work Please I am Noob Scripter Please Help Me, I Complie that is Error, For Jochemd Chek PM from me Plase Help me
Reply


Messages In This Thread
Dynamic Vehicle Spawn Menu - by Jochemd - 03.01.2012, 16:25
Re: Dynamic Vehicle Spawn Menu - by DreveN - 03.01.2012, 16:33
Re: Dynamic Vehicle Spawn Menu - by Jochemd - 03.01.2012, 16:34
Re: Dynamic Vehicle Spawn Menu - by Jakku - 03.01.2012, 16:46
Re: Dynamic Vehicle Spawn Menu - by Jochemd - 04.01.2012, 08:48
Re: Dynamic Vehicle Spawn Menu - by martin3644 - 11.02.2012, 16:21
Re: Dynamic Vehicle Spawn Menu - by 2KY - 11.02.2012, 16:37
Re: Dynamic Vehicle Spawn Menu - by Jochemd - 13.02.2012, 15:19
Re: Dynamic Vehicle Spawn Menu - by korzk7 - 08.04.2012, 10:33
Re: Dynamic Vehicle Spawn Menu - by korzk7 - 08.04.2012, 10:38
Re: Dynamic Vehicle Spawn Menu - by Jochemd - 08.04.2012, 10:44

Forum Jump:


Users browsing this thread: 1 Guest(s)