Command for spawning vehicles
#2

pawn Код:
CMD:veh(playerid, params[])
{
    extract params -> a; else return SendClientMessage(playerid, -1, "USAGE: /veh [Vehicle ID]");
    if(a < 400 || a > 611) return SendClientMessage(playerid, -1, "Maximum vehicle ID is 611, minimum is 400);
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    CreateVehicle(a, X, Y, Z, 0, 0, 0, 90000);
    return 1;
}
This is done using ZCMD by zeex and SSCANF by ******.
Reply


Messages In This Thread
Command for spawning vehicles - by FL3GM4 - 02.12.2012, 01:21
Re: Command for spawning vehicles - by maramizo - 02.12.2012, 01:49
Re: Command for spawning vehicles - by FL3GM4 - 02.12.2012, 02:17
Re: Command for spawning vehicles - by darkvsoul36 - 02.12.2012, 02:46
Re: Command for spawning vehicles - by FL3GM4 - 03.12.2012, 10:11
Re: Command for spawning vehicles - by Konstantinos - 03.12.2012, 10:26
Re: Command for spawning vehicles - by FL3GM4 - 03.12.2012, 15:20
Re: Command for spawning vehicles - by Konstantinos - 03.12.2012, 15:23
Re: Command for spawning vehicles - by FL3GM4 - 03.12.2012, 17:43
Re: Command for spawning vehicles - by Konstantinos - 03.12.2012, 19:01

Forum Jump:


Users browsing this thread: 1 Guest(s)