Simple question, vehicleid
#6

Lets say player see car left on middle of road and he /dl to check the vehicle id (no need to enter the vehicle ) then you can destroy/respawn if you wont here a little code

pawn Код:
CMD:destroy(playerid,params[])
{
    new vehicleid;
    if (sscanf(params, "d",vehicleid)) return SendClientMessage(playerid, -1, "Usage: /destroy [vehicleid]");
    DestroyVehicle(vehicleid);
    return 1;
}
Reply


Messages In This Thread
Simple question, vehicleid - by MatZZPL - 09.11.2012, 16:28
Re: Simple question, vehicleid - by xMCx - 09.11.2012, 16:35
Re: Simple question, vehicleid - by Plovix - 09.11.2012, 16:37
Re: Simple question, vehicleid - by MatZZPL - 09.11.2012, 16:38
Re: Simple question, vehicleid - by Virus. - 09.11.2012, 17:09
Re: Simple question, vehicleid - by doreto - 09.11.2012, 17:19
Re: Simple question, vehicleid - by MatZZPL - 09.11.2012, 17:35

Forum Jump:


Users browsing this thread: 3 Guest(s)