SA-MP Forums Archive
Vcall function - 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: Vcall function (/showthread.php?tid=578672)



Vcall function - kyriakos587 - 21.06.2015

hello,

i need help with vcall function can anyone say me how to put the command /vcall to call vehicles


Re: Vcall function - UltraScripter - 21.06.2015

just example
pawn Код:
CMD:v(playerid, params[])
{
    new Car, Float:x, Float:y, Float:z, Float:a;
    GetPlayerPos(playerid, x, y, z);  
    GetPlayerFacingAngle(playerid, a);
    Car = CreateVehicle(411, x, y, z, a, -1, -1, -1);
    PutPlayerInVehicle(playerid, (Car), 0);
    return 1;
}



Re: Vcall function - kyriakos587 - 21.06.2015

And i want to know how to add /veh so everyone can take cars bikes etc


Re: Vcall function - ]Rafaellos[ - 21.06.2015

You don't just add things, you create them. This is the scripting help section and not script request.