Need help with this simple command
#1

It's about a very easy repair command, this is what I have:
Код:
CMD:repair(playerid, params[])
{
        RepairVehicle(GetPlayerVehicleID(playerid));
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle!");
        SendClientMessage(playerid, COLOR_PURPLE, "You repaired the vehicle");
        return 1;
}
But how do I make it that it costs money?
Reply


Messages In This Thread
Need help with this simple command - by Songason - 19.07.2012, 13:34
Re: Need help with this simple command - by leonardo1434 - 19.07.2012, 13:37
Re: Need help with this simple command - by hansen111 - 19.07.2012, 13:38

Forum Jump:


Users browsing this thread: 1 Guest(s)