Having a bug
#3

First. new mechanic;

2. if (strcmp("/repair", cmdtext, true, 10) == 0)
{
mechanic = 0; return SendClientMessage(playerid,0xD6D6D6AA,"You are not mechanic, donot use this command again");
{
mechanic = 1;
{
SetVehicleHealth(411, 1000);
SendClientMessage(playerid,0xD6D6D6AA,"Sir!, The Vehicle has been repaired, and Your moneys have been -500");
GivePlayerMoney(playerid, -500);
}
}
return 1;
}
return 0;
}
Reply


Messages In This Thread
Having a bug - by RyanPetersons - 16.06.2012, 15:24
Re: Having a bug - by tyler12 - 16.06.2012, 15:25
Re: Having a bug - by Edin Black - 16.06.2012, 15:26
Re: Having a bug - by RyanPetersons - 16.06.2012, 15:26
Re: Having a bug - by RyanPetersons - 16.06.2012, 15:43
Re: Having a bug - by [NWA]Hannes - 16.06.2012, 16:13
Re: Having a bug - by RyanPetersons - 16.06.2012, 16:48
Re: Having a bug - by RyanPetersons - 16.06.2012, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)