vehicle question
#3

I mean for example this command when creating vehicle and one of the players paid the car for example and it blows up, how can I make this car not respawn again

PHP код:
CMD:sultan(playeridparams[])
{
if(
GetPlayerMoney(playerid) == 10000)
{
if(
IsPlayerInRangeOfPoint(playerid3.0,2140.4116,-2256.4915,13.3010))
{
    
GivePlayerMoney(playerid,-10000);
    
CreateVehicle(560,2140.4116,-2258.4915,14.3010,180.0000,10,10,-1);
}else{
SendClientMessage(playerid,COLOR_RED,"You are no in Buy Zone");
}
}else{
SendClientMessage(playerid,COLOR_RED,"You dont have enough money");
}
return 
1;

Reply


Messages In This Thread
vehicle question - by rumen98 - 19.05.2014, 10:29
Re: vehicle question - by Brandondw8 - 19.05.2014, 10:31
Re: vehicle question - by rumen98 - 19.05.2014, 10:44

Forum Jump:


Users browsing this thread: 1 Guest(s)