Author Topic: !eject cmd PLz  (Read 3497 times)

0 Members and 1 Guest are viewing this topic.

Offline Rey

  • Street Thug
  • *
  • Posts: 12
    • View Profile
!eject cmd PLz
« on: November 14, 2012, 07:19:36 pm »
Can you give !eject cmd plz

Offline Riders

  • Street Thug
  • *
  • Posts: 16
    • View Profile
Re: !eject cmd PLz
« Reply #1 on: November 14, 2012, 07:41:35 pm »
Take this command !eject :)

[pawn]else if(strcmp(cmd,"!eject",true) == 0)
{
   if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_GREEN,"** pm>> You're not in a vehicle!");
              else if ( (GetPlayerVehicleID(playerid) == 155) || ( GetPlayerVehicleID(playerid) == 177) ) SendClientMessage(playerid,COLOR_WHITE,"You cant fix this vehicle");
      else {
          RemovePlayerFromVehicle(playerid);
          SendClientMessage(playerid, COLOR_GREEN, "** pm>> You have been Sucessfully ejected!");
      }
        return 1;
        }[/pawn]

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: !eject cmd PLz
« Reply #2 on: November 14, 2012, 08:46:15 pm »
Take this command !eject :)

[pawn]else if(strcmp(cmd,"!eject",true) == 0)
{
   if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_GREEN,"** pm>> You're not in a vehicle!");
              else if ( (GetPlayerVehicleID(playerid) == 155) || ( GetPlayerVehicleID(playerid) == 177) ) SendClientMessage(playerid,COLOR_WHITE,"You cant fix this vehicle");
      else {
          RemovePlayerFromVehicle(playerid);
          SendClientMessage(playerid, COLOR_GREEN, "** pm>> You have been Sucessfully ejected!");
      }
        return 1;
        }[/pawn]

Lol
he means that he would like to eject people from his vehicle, not himself


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: !eject cmd PLz
« Reply #3 on: November 14, 2012, 09:07:28 pm »
Command For Warchiefs:

[pawn]else if (strcmp(cmd, "!eject", true) == 0) {
       if (IsPlayerInfo(playerid,cmd)) return 0;
       else if (GetPlayerSpawn(playerid) == 0) MessagePM(playerid, GREEN,"Error : You Aren't Spawned");
         else if(!IsPlayerInAnyVehicle(playerid)) MessagePM(playerid, GREEN,"Error:  Need to be inside a vehicle");
         else {
            RemovePlayerFromVehicle(playerid);
      }
      return 1;
   }[/pawn]

Offline Rey

  • Street Thug
  • *
  • Posts: 12
    • View Profile
Re: !eject cmd PLz
« Reply #4 on: November 15, 2012, 02:30:37 pm »
Take this command !eject :)

[pawn]else if(strcmp(cmd,"!eject",true) == 0)
{
   if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_GREEN,"** pm>> You're not in a vehicle!");
              else if ( (GetPlayerVehicleID(playerid) == 155) || ( GetPlayerVehicleID(playerid) == 177) ) SendClientMessage(playerid,COLOR_WHITE,"You cant fix this vehicle");
      else {
          RemovePlayerFromVehicle(playerid);
          SendClientMessage(playerid, COLOR_GREEN, "** pm>> You have been Sucessfully ejected!");
      }
        return 1;
        }[/pawn]

Lol
he means that he would like to eject people from his vehicle, not himself
Lolz Rider has given needed cmd. :)