How to?
#1

HOw do i make a command that gives a person a bike? Like /mtbike and it puts the player on a bike? or /dinghy and the player gets a dinghy?
Reply
#2

pawn Код:
if (strcmp("/bike", cmdtext, true, 10) == 0)
    {
        new Float:x,Float:y,Float:z;
        new Bike1;
                GetPlayerPos(playerid, Float:x,Float:y,Float:z);
        bike1 == CreateVehicle(bike id, x,y,z,10,1,1,10);
                PutPlayerInVehicle(playerid, bike1, 0);
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)