PutPlayerInVehicle
#10

Quote:
Originally Posted by niels44
View Post
try this one:
pawn Code:
CMD:acar(playerid, params[])
{
    new Float:x, Float:y, Float:z,Float:angle;
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
        PutPlayerInVehicle(playerid,  CreateVehicle(429, x,y,z,angle, 0, 0, 60), 0);
        ChangeVehicleColor(429, 0, 1);

    }
    else return SendClientMessage(playerid,COLOR_RED,"You have to be level 1 to use that command!");
    return 1;
}
UNTESTED but i think it should work XD

This won't work as the compiler doesnt know what is x,y and z....
Reply


Messages In This Thread
PutPlayerInVehicle - by Twisted_Insane - 16.02.2012, 11:05
Re: PutPlayerInVehicle - by L0zaix - 16.02.2012, 11:10
Re: PutPlayerInVehicle - by [HK]Ryder[AN] - 16.02.2012, 11:11
Re: PutPlayerInVehicle - by [Diablo] - 16.02.2012, 11:13
Re: PutPlayerInVehicle - by KingHual - 16.02.2012, 11:13
Re: PutPlayerInVehicle - by Twisted_Insane - 16.02.2012, 11:18
Re: PutPlayerInVehicle - by [Diablo] - 16.02.2012, 11:19
Re: PutPlayerInVehicle - by [HK]Ryder[AN] - 16.02.2012, 11:19
Re: PutPlayerInVehicle - by niels44 - 16.02.2012, 11:21
Re: PutPlayerInVehicle - by [HK]Ryder[AN] - 16.02.2012, 11:29

Forum Jump:


Users browsing this thread: 1 Guest(s)