Jump to content

help +2

Bugged MehD

Recommended Posts

de ce am obține această eroare de fiecare dată când ceva greșit ??









CMD:vgroup(playerid, params[]) {
if(playerVariables[playerid][pAdminLevel] >= 4) {
   if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside the vehicle that you wish to alter the group requirement of.");
   groupParam = strval(params);
if(groupParam < 0 || groupParam > MAX_GROUPS) return SendClientMessage(playerid, COLOR_GREY, "Invalid group ID.");
        for(new x = 0; x < MAX_VEHICLES; x++) {
            if(vehicleVariables[x][vVehicleScriptID] == GetPlayerVehicleID(playerid)) {
                vehicleVariables[x][vVehicleGroup] = groupParam;
                switch(groupParam) {
case 0: format(string, sizeof(string), "You have removed group restrictions from this vehicle (%d).", x);
default: format(string, sizeof(string), "You have changed this vehicle's group to %s (vehicle %d).", groupVariables[groupParam][gGroupName], x);
SendClientMessage(playerid, COLOR_WHITE, string);
return 1;
else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly);
return 1;






Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.