Vcall function
#1

hello,

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

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;
}
Reply
#3

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)