NEED hELP . setplayeronveh
#1

I want help in making a cmd .

On cmd i want to set player on vehicle [name];

Please i need this thanks .
Reply
#2

Quote:
Originally Posted by iRana
Посмотреть сообщение
I want help in making a cmd .

On cmd i want to set player on vehicle [name];

Please i need this thanks .
On the vehicle or in?
Reply
#3

in vehicle >
Reply
#4

PutPlayerInVehicle.
Reply
#5

Ye man , yes .
Reply
#6

Код:
if(strcmp("/getin", cmdtext, true, 10) == 0){
  if(!IsPlayerInAnyVehicle(playerid)){
    for(new v=0; v<MAX_VEHICLES; v++){
      new Float:x, Float:y, Float:z;
      GetVehiclePos(v, x, y, z);
      if(IsPlayerInRangeOfPoint(playerid, 10.00, x, y, z)){
        PutPlayerInVehicle(playerid, v, 0);
      }
    }
  }
  return 1;
}
should work I think..haven't tried though
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)