08.04.2012, 10:33
How to Actived this Script
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
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; } |