ZCMD Command Help
#1

Hey guys,
Sorry if this is in the wrong topic.. but How do you create a vehicle spawn command for ZCMD?
Reply
#2

******. i found a lot of results.
Reply
#3

I did.. I found alot of results with people having problems with the command.. Thats just about it.
Reply
#4

If you want me to make it admin only then reply with your enums listed.

pawn Код:
CMD:veh(playerid, params[] )
{
     new
        modelid,
        Float:zPos[3];


    if( sscanf(params, "i", modelid)) SendClientMessage(playerid, -1, "Command USAGE: /veh [id]" );
    else
    {
        GetPlayerPos(playerid, zPos[0], zPos[1], zPos[2]);
        CreateVehicle(modelid, zPos[0], zPos[1], zPos[2], 0, 1, 1, 80000);
    }
    return 1;
}
Reply
#5

Here is a tutorial.

Is this what you wanted? https://sampforum.blast.hk/showthread.php?tid=273055
Reply
#6

Thanks mkmk!

And Stuun I did want a Tutorial just so I can learn more about it and see where I can play around, Thanks guys!! gave you both +rep
Reply
#7

No problem.

Glad to hear you got it now. btw there is a lot of tutorials out there
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)