19.05.2014, 10:44
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(playerid, params[])
{
if(GetPlayerMoney(playerid) == 10000)
{
if(IsPlayerInRangeOfPoint(playerid, 3.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;
}

