[Need Help] Does Someone knows how to remove the Anticheat from Vortex?
#2

I don't know this gamemode but this may solve:
Add this line in the OnVehicleRespray: playerVariables[playerid][pMoney] -= 100;
This could avoid the money repair.

pawn Код:
public OnVehicleRespray(playerid, vehicleid, color1, color2) {

    /* With modifications, we don't need to do this as there's already a GetVehicleComponentInSlot function.
    However, this will save paint if a player who doesn't own the car is driving. */

    SetPVarInt(playerid, "pC", 1);
        playerVariables[playerid][pMoney] -= 100;
    foreach(Player, v) {
        if(GetPlayerVehicleID(playerid) == playerVariables[v][pCarID]) {
            playerVariables[v][pCarColour][0] = color1;
            playerVariables[v][pCarColour][1] = color2;                        
        }
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)