ZCMD Command Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ZCMD Command Help (
/showthread.php?tid=543410)
ZCMD Command Help -
CountryTrooper441 - 26.10.2014
Hey guys,
Sorry if this is in the wrong topic.. but How do you create a vehicle spawn command for ZCMD?
Re: ZCMD Command Help -
Glossy42O - 26.10.2014
******. i found a lot of results.
Re: ZCMD Command Help -
CountryTrooper441 - 26.10.2014
I did.. I found alot of results with people having problems with the command.. Thats just about it.
Re: ZCMD Command Help -
mkmk - 26.10.2014
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;
}
Re: ZCMD Command Help -
Glossy42O - 26.10.2014
Here is a tutorial.
Is this what you wanted?
https://sampforum.blast.hk/showthread.php?tid=273055
Re: ZCMD Command Help -
CountryTrooper441 - 26.10.2014
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
Re: ZCMD Command Help -
Glossy42O - 26.10.2014
No problem.
Glad to hear you got it now. btw there is a lot of tutorials out there