Help with illegal car mechaniker
#1

Hello boys n girls

I got an idea... like a pay n spray without color change in cj's house this coordinates

0,2505.7393,-1694.0750,13.5580,180.9448,0,0,0,0,0,0

then you drive inside the garage you got a message in chatt like
hi you want to hier a cheap mechaniker?? i take 60 $ to fix your car. type /fixcar to hire a mechaniker.
after /fixcar the car health will go to 1000 hp and it will take 60 dollars from the player.
and the player will get +2 wanted stars
cops can't do this

thnx for help sorry for bad English
Reply
#2

don't care about this message
Reply
#3

help plz?
Reply
#4

I think you mean something like this:
pawn Код:
CMD:fixcar(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid,3, 2505.7393,-1694.0750,13.5580)) return SendClientMessage(playerid, -1, "You are not at the garage!");
else
{
new vehicleid = GetPlayerVehicleID(playerid);
GivePlayerMoney(playerid, -60);
SetVehicleHealth(vehicleid, 1000.0);
RepairVehicle(vehicleid);
SendClientMessage(playerid, -1, "You have repaired your vehicle for 60 bucks! You also got 2 wanted stars!");
SetPlayerWantedLevel(playerid, 2);
}
return 1;
}
Like that?
Reply
#5

yes, thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)