Author Topic: Mission1:Transport Commodity To Mall(Only For GUPS) By me  (Read 5120 times)

0 Members and 1 Guest are viewing this topic.

Offline VC[88]PD

  • Wiseguy
  • **
  • Posts: 52
    • View Profile
Mission1:Transport Commodity To Mall(Only For GUPS) By me
« on: February 14, 2013, 08:53:30 am »
Hi everyone . This Command Only For GUPS because GUPS has the function of GetPlayerLocation( playerid ).
I hope you like it .
First,Put this on top.
[pawn]new Mission1[MAX_PLAYERS];[/pawn]
Second,Put this in public OnPlayerDisconnect and public OnPlayerDeath.
[pawn]Mission1[playerid] = 0;[/pawn]
Then,put this main part to public OnPlayerCommandText( playerid, cmdtext[] )
[pawn]else if ( strcmp( cmd, "mission1", true ) == 0 )
   {
   if ( strcmp( GetPlayerLocation( playerid ), "Docks-Viceport-Vice-City-Mainland", true ) == 1 )SendClientMessage(playerid, COLOR_RED,"[Error] - Please goto the port and find a mule.(use !port).");
        else if (!IsPlayerInVehicle(playerid, 96)) SendClientMessage(playerid, COLOR_RED, "Please get on the mule.");
      else {
            SendClientMessage(playerid ,COLOR_GREEN, "Welcome to mission 1.In this mission you should drive your mule to the mall,let we go!");
         RemovePlayerFromVehicle(playerid);
            SetPlayerSkin(playerid, 0);
          SetPlayerSkin(playerid, 159);
          PutPlayerInVehicle(playerid, 96);
            GameTextForPlayer(playerid,"~p~mission ~r~1 ~y~started");
         SendClientMessage(playerid, COLOR_YELLOW, "OK,let we goto the mall.If you arrive the mall,please type /c mission1f to get some money.");
            Mission1[playerid] = 1;
        }
      return 1;
      }
      else if ( strcmp( cmd, "mission1f", true ) == 0 )
   {
        if ( strcmp( GetPlayerLocation( playerid ), "North-Point-Mall-Vice-Point-Vice-City-Beach", true ) == 1 )SendClientMessage(playerid, COLOR_RED,"[Error] - You can only steal in an area near the mall.");
        else if (Mission1[playerid] == 0) {
        SendClientMessage(playerid,0xAA3333AA,"You haven't started the mission yet,type /c mission1 to view the mission.");
        }
      else{
      new plname[24];
      new szMsg[256];
      SetPlayerMoney(playerid, GetPlayerMoney(playerid) + 10000);
      SendClientMessage(playerid, 0x33CCFFAA, "congratulation!!You have finished the mission1 already.You have got money = 10000 already!");
      GameTextForPlayer(playerid,"~y~congratulation~p~!!!!");
        GetPlayerName(playerid,plname,24);
        format(szMsg, sizeof(szMsg), "%s has finished mission 1 and get money = 10000!Do you want finish it too?Type /c mission1 !!",plname);
      SendClientMessageToAll(0xF6A113FF,szMsg);
      RemovePlayerFromVehicle(playerid);
      SetVehicleToRespawn(96);
      Mission1[playerid] = 0;
      }
      return 1;
      }[/pawn]
When you finish these Step,Enjoy it!!
Thanks!!!!

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Mission1:Transport Commodity To Mall(Only For GUPS) By me
« Reply #1 on: February 15, 2013, 12:00:32 am »
Hi everyone . This Command Only For GUPS because GUPS has the function of GetPlayerLocation( playerid ).
I hope you like it .
First,Put this on top.
[pawn]new Mission1[MAX_PLAYERS];[/pawn]
Second,Put this in public OnPlayerDisconnect and public OnPlayerDeath.
[pawn]Mission1[playerid] = 0;[/pawn]
Then,put this main part to public OnPlayerCommandText( playerid, cmdtext[] )
[pawn]else if ( strcmp( cmd, "mission1", true ) == 0 )
   {
   if ( strcmp( GetPlayerLocation( playerid ), "Docks-Viceport-Vice-City-Mainland", true ) == 1 )SendClientMessage(playerid, COLOR_RED,"[Error] - Please goto the port and find a mule.(use !port).");
        else if (!IsPlayerInVehicle(playerid, 96)) SendClientMessage(playerid, COLOR_RED, "Please get on the mule.");
      else {
            SendClientMessage(playerid ,COLOR_GREEN, "Welcome to mission 1.In this mission you should drive your mule to the mall,let we go!");
         RemovePlayerFromVehicle(playerid);
            SetPlayerSkin(playerid, 0);
          SetPlayerSkin(playerid, 159);
          PutPlayerInVehicle(playerid, 96);
            GameTextForPlayer(playerid,"~p~mission ~r~1 ~y~started");
         SendClientMessage(playerid, COLOR_YELLOW, "OK,let we goto the mall.If you arrive the mall,please type /c mission1f to get some money.");
            Mission1[playerid] = 1;
        }
      return 1;
      }
      else if ( strcmp( cmd, "mission1f", true ) == 0 )
   {
        if ( strcmp( GetPlayerLocation( playerid ), "North-Point-Mall-Vice-Point-Vice-City-Beach", true ) == 1 )SendClientMessage(playerid, COLOR_RED,"[Error] - You can only steal in an area near the mall.");
        else if (Mission1[playerid] == 0) {
        SendClientMessage(playerid,0xAA3333AA,"You haven't started the mission yet,type /c mission1 to view the mission.");
        }
      else{
      new plname[24];
      new szMsg[256];
      SetPlayerMoney(playerid, GetPlayerMoney(playerid) + 10000);
      SendClientMessage(playerid, 0x33CCFFAA, "congratulation!!You have finished the mission1 already.You have got money = 10000 already!");
      GameTextForPlayer(playerid,"~y~congratulation~p~!!!!");
        GetPlayerName(playerid,plname,24);
        format(szMsg, sizeof(szMsg), "%s has finished mission 1 and get money = 10000!Do you want finish it too?Type /c mission1 !!",plname);
      SendClientMessageToAll(0xF6A113FF,szMsg);
      RemovePlayerFromVehicle(playerid);
      SetVehicleToRespawn(96);
      Mission1[playerid] = 0;
      }
      return 1;
      }[/pawn]
When you finish these Step,Enjoy it!!
Thanks!!!!

Nice, you guys made really great idea with these missions  ;)
Note: u can copy GetPlayerLocation from GUPS if it's a stock-function


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline VC[88]PD

  • Wiseguy
  • **
  • Posts: 52
    • View Profile
Re: Mission1:Transport Commodity To Mall(Only For GUPS) By me
« Reply #2 on: February 15, 2013, 09:39:56 am »
Hi everyone . This Command Only For GUPS because GUPS has the function of GetPlayerLocation( playerid ).
I hope you like it .
First,Put this on top.
[pawn]new Mission1[MAX_PLAYERS];[/pawn]
Second,Put this in public OnPlayerDisconnect and public OnPlayerDeath.
[pawn]Mission1[playerid] = 0;[/pawn]
Then,put this main part to public OnPlayerCommandText( playerid, cmdtext[] )
[pawn]else if ( strcmp( cmd, "mission1", true ) == 0 )
   {
   if ( strcmp( GetPlayerLocation( playerid ), "Docks-Viceport-Vice-City-Mainland", true ) == 1 )SendClientMessage(playerid, COLOR_RED,"[Error] - Please goto the port and find a mule.(use !port).");
        else if (!IsPlayerInVehicle(playerid, 96)) SendClientMessage(playerid, COLOR_RED, "Please get on the mule.");
      else {
            SendClientMessage(playerid ,COLOR_GREEN, "Welcome to mission 1.In this mission you should drive your mule to the mall,let we go!");
         RemovePlayerFromVehicle(playerid);
            SetPlayerSkin(playerid, 0);
          SetPlayerSkin(playerid, 159);
          PutPlayerInVehicle(playerid, 96);
            GameTextForPlayer(playerid,"~p~mission ~r~1 ~y~started");
         SendClientMessage(playerid, COLOR_YELLOW, "OK,let we goto the mall.If you arrive the mall,please type /c mission1f to get some money.");
            Mission1[playerid] = 1;
        }
      return 1;
      }
      else if ( strcmp( cmd, "mission1f", true ) == 0 )
   {
        if ( strcmp( GetPlayerLocation( playerid ), "North-Point-Mall-Vice-Point-Vice-City-Beach", true ) == 1 )SendClientMessage(playerid, COLOR_RED,"[Error] - You can only steal in an area near the mall.");
        else if (Mission1[playerid] == 0) {
        SendClientMessage(playerid,0xAA3333AA,"You haven't started the mission yet,type /c mission1 to view the mission.");
        }
      else{
      new plname[24];
      new szMsg[256];
      SetPlayerMoney(playerid, GetPlayerMoney(playerid) + 10000);
      SendClientMessage(playerid, 0x33CCFFAA, "congratulation!!You have finished the mission1 already.You have got money = 10000 already!");
      GameTextForPlayer(playerid,"~y~congratulation~p~!!!!");
        GetPlayerName(playerid,plname,24);
        format(szMsg, sizeof(szMsg), "%s has finished mission 1 and get money = 10000!Do you want finish it too?Type /c mission1 !!",plname);
      SendClientMessageToAll(0xF6A113FF,szMsg);
      RemovePlayerFromVehicle(playerid);
      SetVehicleToRespawn(96);
      Mission1[playerid] = 0;
      }
      return 1;
      }[/pawn]
When you finish these Step,Enjoy it!!
Thanks!!!!

Nice, you guys made really great idea with these missions  ;)
Note: u can copy GetPlayerLocation from GUPS if it's a stock-function
I will make mission2. ;D
Thanks[/color]

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Mission1:Transport Commodity To Mall(Only For GUPS) By me
« Reply #3 on: February 15, 2013, 05:57:31 pm »
I Made Missions
3 Race 2   
4 Race 1
5 Finding Pickups
6 BankJob
7 COP         

i made my script
with vc missions
7 missions
with
nuttertools
thugstools
professionaltools
cheats
this is my version 1.1
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline VC[88]PD

  • Wiseguy
  • **
  • Posts: 52
    • View Profile
Re: Mission1:Transport Commodity To Mall(Only For GUPS) By me
« Reply #4 on: February 16, 2013, 11:21:31 am »
I Made Missions
3 Race 2   
4 Race 1
5 Finding Pickups
6 BankJob
7 COP         

i made my script
with vc missions
7 missions
with
nuttertools
thugstools
professionaltools
cheats
this is my version 1.1
And you used my command too :) .Thanks

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Mission1:Transport Commodity To Mall(Only For GUPS) By me
« Reply #5 on: February 16, 2013, 11:27:56 am »
I Am USing And Also Adding Credits
CHeck My Script Of Missions v1
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline [VN]truon_chan1

  • Street Thug
  • *
  • Posts: 13
  • [VC]88[PD], best friend FOREVER.
    • View Profile
Re: Mission1:Transport Commodity To Mall(Only For GUPS) By me
« Reply #6 on: March 14, 2013, 01:57:10 pm »
noone create this in the scipht, now this topic make a goods ;)