need script - fix -
#1

Hi i need a script that will allow me to go ..

/fix
then it fix the car and take $1000 away


Thx for your time
Reply
#2

pawn Код:
if(strcmp(cmdtext, "/fix", true) == 0)
{
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, " Not in a vehicle.");
    if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid, 0xFFFFFFFF, " Not enough cash.");
    else
    {
        SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
        GivePlayerMoney(playerid, -1000);
        SendClientMessage(playerid, 0xFFFFFFFF, " Vehicle fixed!");
    }
    return 1;
}
Took me 5,72 seconds.
Reply
#3

Quote:
Originally Posted by //exora
Took me 5,72 seconds.
maybe for you, and me and others, but for him, he mgiht not really know how to cide and hence asked for some help, you can learn alot from other peoples help ya know
Reply
#4

Quote:
Originally Posted by [UF
XtreaMeR ]
Quote:
Originally Posted by //exora
Took me 5,72 seconds.
maybe for you, and me and others, but for him, he mgiht not really know how to cide and hence asked for some help, you can learn alot from other peoples help ya know
Dame Right

Thx For The Code Man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)