[FilterScript] GoldRims FilterScript
#1

Instead of going to payn spray and stuff like that i decided to make it easier.

Код:
CMD:goldrims(playerid, params[])
{
    if(IsPlayerConnected(playerid)) {
        if(PlayerInfo[playerid][pAdmin] < 1) {
            SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
            return 1;
        }
        if(IsPlayerInAnyVehicle(playerid)) {
            AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
            SendClientMessageEx(playerid, COLOR_GREY, "   Gold Rims Added to Vehicle!");
        }
    }
    return 1;
}
Reply
#2

Not everyone have the Enumerator PlayerInfo in his Script dude..
Reply
#3

Thats just copyed from a script. He didn't even edit it to be compatible with anything.
Reply
#4

pawn Код:
CMD:goldrims(playerid, params[])
{
        if(IsPlayerInAnyVehicle(playerid)) {
            AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
            SendClientMessageEx(playerid, 0xAFAFAFFF, "   Gold Rims Added to Vehicle!");
        }
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)