Jump to content
  • 0

un mic ajutor...!


xxSPEEDYxx

Question

Deci azi mam apucat sa fac dialoguri cu teles....:

if (strcmp("/stunt", cmdtext, true)==0)
	{
	if(Roman[playerid] == 0)
    {
    ShowPlayerDialog(playerid, stunt, DIALOG_STYLE_LIST, "Stunt Teles", "Stunt Crome - /sc\nStunt Jizzy - /sj\nAbandoned Airport - /aa\nMonsterCrash - /mc\nMonsterCrash2 - /mc2\nStunt Golf - /sg\nMultiParkour - /mpk\nMount Chilliad - /chilliad\nSanFierro Airport - /sfair\nLasVenturas Airport - /lvair\nMonsterMania - /mm\nNrgs - /nrgs", "Select", "Cancel");
    }
 	if(Roman[playerid] == 1)
    {
  	ShowPlayerDialog(playerid, stunt, DIALOG_STYLE_LIST, "Stunt Teles", "Stunt Crome - /sc\nStunt Jizzy - /sj\nAbandoned Airport - /aa\nMonsterCrash - /mc\nMonsterCrash2 - /mc2\nStunt Golf - /sg\nMultiParkour - /mpk\nMount Chilliad - /chilliad\nSanFierro Airport - /sfair\nLasVenturas Airport - /lvair\nMonsterMania - /mm\nNrgs - /nrgs", "Select", "Cancel");
 	}
    return 1;
	}
dupa aia am bagat asta la on dialog response:
if(dialogid == stunt)
    {
        switch(listitem)
        {
            case 0:
                {
                  ResetPlayerWeapons(playerid);
			      new vehicleid = GetPlayerVehicleID(playerid);
			      new State = GetPlayerState(playerid);
			      if (IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
			      {
			      LinkVehicleToInterior(vehicleid, 0);
			      SetPlayerInterior(playerid, 0);
			      ResetPlayerWeapons(playerid);
			      SetVehicleZAngle(vehicleid,0);
			      return SetVehiclePos(vehicleid, -442.773560, 2208.823486, 42.929688);
			      }else{
			      SetPlayerPos(playerid, -470.871338, 2212.695068, 48.028095);
			      SetPlayerInterior(playerid, 0);
			      GameTextForPlayer(playerid,"~r~~h~Welcome to Stunt Crom!",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone To Stunt Crom ~r~(/sc)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
			      SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
			      DM[playerid] = 0;
  		}
			case 1:
                {
                  ResetPlayerWeapons(playerid);
				  if(IsPlayerInAnyVehicle(playerid))
				  {
				  SetVehiclePos(GetPlayerVehicleID(playerid), -2636.6946,1443.2651,7.1283);
				  SetVehicleZAngle(GetPlayerVehicleID(playerid), 65.1886);
				  LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
				  }
			  	  else
				  {
				  SetPlayerPos(playerid, -2655.6069,1458.4485,7.1149);
				  SetPlayerFacingAngle(playerid, 0.0);
				  }
				  SetPlayerInterior(playerid, 0);
				  ResetPlayerWeapons(playerid);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to Stunt Jizzy",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to Stunt Jizzy ~r~(/sj)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
				  DM[playerid] = 0;
                }
			case 2:
                {
                  ResetPlayerWeapons(playerid);
			      if (IsPlayerInAnyVehicle(playerid)) {
			      SetVehiclePos(GetPlayerVehicleID(playerid),384.7456,2539.0366,16.9104 );
			      SetVehicleZAngle(GetPlayerVehicleID(playerid), 266.558685);
			      LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
			      }
			      if (!IsPlayerInAnyVehicle(playerid)) {
			      SetPlayerPos(playerid,403.447265,2466.154296,16.506214 );
			      SetPlayerFacingAngle(playerid, 266.558685);
			      SetPlayerInterior(playerid, 0);
			      }
			      SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
			      GameTextForPlayer(playerid,"~r~~h~Welcome to Old Airport!",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone To Old Airport~r~(/aa)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
			      DM[playerid] = 0;
                }
            case 3:
                {
                  ResetPlayerWeapons(playerid);
				  SetPlayerPos(playerid, -1211.8409,-996.5524,128.2656);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to Monster Crash",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to Monster Crash ~r~(/mc)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  ResetPlayerWeapons(playerid);
				  DM[playerid] = 0;
                }
            case 4:
                {
                  ResetPlayerWeapons(playerid);
				  SetPlayerPos(playerid, -2383.9839,2909.5325,362.3510);
				  ResetPlayerWeapons(playerid);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to Monster Crash2",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to Monster Crash2 ~r~(/mc2)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  DM[playerid] = 0;
                }
            case 5:
                {
                  SetPlayerPos(playerid, 1427.2017,2771.5164,15.8680);
			      SetPlayerInterior(playerid, 0);
			      ResetPlayerWeapons(playerid);
			      GameTextForPlayer(playerid,"~r~~h~Welcome to Stunt Golf!",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone To Stunt Golf ~r~(/sg)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  DM[playerid] = 0;
				  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
                }
            case 6:
                {
                  SetPlayerPos(playerid, 1637.6896,2254.9548,623.9398);
				  SetPlayerInterior(playerid, 0);
				  ResetPlayerWeapons(playerid);
				  SendClientMessage(playerid, 0xFFFF00AA, " Welcome to Multi Parkour");
				  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
				  DM[playerid] = 0;
                }
            case 7:
                {
                  ResetPlayerWeapons(playerid);
			      if (IsPlayerInAnyVehicle(playerid)) {
			      SetVehiclePos(GetPlayerVehicleID(playerid),-2336.5281,-1627.0908,483.7049 );
			      SetVehicleZAngle(GetPlayerVehicleID(playerid), 210.552673);
			      LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
			      }
			      if (!IsPlayerInAnyVehicle(playerid)) {
			      SetPlayerPos(playerid,-2338.0388,-1610.1379,483.7186 );
			      SetPlayerFacingAngle(playerid, 242.6022);
			      SetPlayerInterior(playerid, 0);
			      ResetPlayerWeapons(playerid);
			      }
			      SendClientMessage(playerid, 0xFFFF00AA, "You Have Been Teleported To Mount Chiliad!");
			      SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
				  DM[playerid] = 0;
                }
            case 8:
                {
                  ResetPlayerWeapons(playerid);
			      if (IsPlayerInAnyVehicle(playerid)) {
			      SetVehiclePos(GetPlayerVehicleID(playerid),-1481.8425,-194.4266,13.7062);
			      SetVehicleZAngle(GetPlayerVehicleID(playerid), 315.557678);
			      LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
			      }
			      if (!IsPlayerInAnyVehicle(playerid)) {
			      SetPlayerPos(playerid,-1460.1411,-204.3723,14.1484 );
			      SetPlayerFacingAngle(playerid, 315.557678);
			      SetPlayerInterior(playerid, 0);
			      ResetPlayerWeapons(playerid);
			      }
			      SendClientMessage(playerid, 0xFFFF00AA, "You Have Been Teleported To San Fierro Airport!");
			      SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
			      DM[playerid] = 0;
                }
            case 9:
                {
                  ResetPlayerWeapons(playerid);
				  if (IsPlayerInAnyVehicle(playerid)) {
   				  SetVehiclePos(GetPlayerVehicleID(playerid),1293.0598,1271.3467,10.8203 );
		    	  SetVehicleZAngle(GetPlayerVehicleID(playerid), 266.558685);
		    	  LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
		    	  }
    		 	  if (!IsPlayerInAnyVehicle(playerid)) {
		    	  SetPlayerPos(playerid,1313.6654,1267.3495,10.8203 );
		    	  SetPlayerFacingAngle(playerid, 266.558685);
		    	  SetPlayerInterior(playerid, 0);
		    	  ResetPlayerWeapons(playerid);
		    	  }
		    	  SendClientMessage(playerid, 0xFFFF00AA, "You Have Been Teleported To A Airport In LV!");
		    	  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
		    	  DM[playerid] = 0;
                }
            case 10:
                {
                  	ResetPlayerWeapons(playerid);
				  SetPlayerPos(playerid, -2789.8091,-2546.2229,1.3142);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to Monster",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to Monster ~r~(/monster)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  DM[playerid] = 0;
                }
            case 11:
                {
                  SetPlayerPos(playerid,2603.1882324219, -1299.8951416016, 81.14811706543);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to nrgs3",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to nrgs3 ~r~(/nrgs3)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  ResetPlayerWeapons(playerid);
				  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
				  DM[playerid] = 0;
                }
        }
    }
    return 1;
}
si imi da errorile astea:
C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RO.pwn(10611) : error 014: invalid statement; not in switch
C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RO.pwn(10611) : warning 215: expression has no effect
C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RO.pwn(10611) : error 001: expected token: ";", but found ":"
C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RO.pwn(10611) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RO.pwn(10611) : fatal error 107: too many error messages on one line

va rog help!!!!

Fara reclama in semnatura!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest PlayON

expected token ; adica lipseste ;

C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RO.pwn(10611) : error 001: expected token: ";", but found ":"

Inlocuieste : cu ; la linia aia.

Link to comment
Share on other sites

am fakt altfel am vaz ca nu merge si am fakt asa:

if (strcmp("/stunt", cmdtext, true)==0)
	{
	if(Roman[playerid] == 0)
    {
    ShowPlayerDialog(playerid, stunt, DIALOG_STYLE_LIST, "Stunt Teles", "Stunt Crome - /sc\nStunt Jizzy - /sj\nAbandoned Airport - /aa\nMonsterCrash - /mc\nMonsterCrash2 - /mc2\nStunt Golf - /sg\nMultiParkour - /mpk\nMount Chilliad - /chilliad\nSanFierro Airport - /sfair\nLasVenturas Airport - /lvair\nMonsterMania - /mm\nNrgs - /nrgs", "Select", "Cancel");
    }
 	if(Roman[playerid] == 1)
    {
  	ShowPlayerDialog(playerid, stunt, DIALOG_STYLE_LIST, "Stunt Teles", "Stunt Crome - /sc\nStunt Jizzy - /sj\nAbandoned Airport - /aa\nMonsterCrash - /mc\nMonsterCrash2 - /mc2\nStunt Golf - /sg\nMultiParkour - /mpk\nMount Chilliad - /chilliad\nSanFierro Airport - /sfair\nLasVenturas Airport - /lvair\nMonsterMania - /mm\nNrgs - /nrgs", "Select", "Cancel");
 	}
    return 1;
	}
si am bagat asa la if dialog response:
	if(dialogid == stunt)
    {
        if(response)
        {
            if(listitem == 0)
                {
                  ResetPlayerWeapons(playerid);
			      new vehicleid = GetPlayerVehicleID(playerid);
			      new State = GetPlayerState(playerid);
			      if (IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
			      {
			      LinkVehicleToInterior(vehicleid, 0);
			      SetPlayerInterior(playerid, 0);
			      ResetPlayerWeapons(playerid);
			      SetVehicleZAngle(vehicleid,0);
			      return SetVehiclePos(vehicleid, -442.773560, 2208.823486, 42.929688);
			      }else{
			      SetPlayerPos(playerid, -470.871338, 2212.695068, 48.028095);
			      SetPlayerInterior(playerid, 0);
			      GameTextForPlayer(playerid,"~r~~h~Welcome to Stunt Crom!",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone To Stunt Crom ~r~(/sc)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
			      SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
			      DM[playerid] = 0;
  		        }
			if(listitem == 1)
                {
                  ResetPlayerWeapons(playerid);
				  if(IsPlayerInAnyVehicle(playerid))
				  {
				  SetVehiclePos(GetPlayerVehicleID(playerid), -2636.6946,1443.2651,7.1283);
				  SetVehicleZAngle(GetPlayerVehicleID(playerid), 65.1886);
				  LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
				  }
			  	  else
				  {
				  SetPlayerPos(playerid, -2655.6069,1458.4485,7.1149);
				  SetPlayerFacingAngle(playerid, 0.0);
				  }
				  SetPlayerInterior(playerid, 0);
				  ResetPlayerWeapons(playerid);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to Stunt Jizzy",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to Stunt Jizzy ~r~(/sj)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
				  DM[playerid] = 0;
                }
			if(listitem == 2)
                {
                  ResetPlayerWeapons(playerid);
			      if (IsPlayerInAnyVehicle(playerid)) {
			      SetVehiclePos(GetPlayerVehicleID(playerid),384.7456,2539.0366,16.9104 );
			      SetVehicleZAngle(GetPlayerVehicleID(playerid), 266.558685);
			      LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
			      }
			      if (!IsPlayerInAnyVehicle(playerid)) {
			      SetPlayerPos(playerid,403.447265,2466.154296,16.506214 );
			      SetPlayerFacingAngle(playerid, 266.558685);
			      SetPlayerInterior(playerid, 0);
			      }
			      SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
			      GameTextForPlayer(playerid,"~r~~h~Welcome to Old Airport!",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone To Old Airport~r~(/aa)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
			      DM[playerid] = 0;
                }
            if(listitem == 3)
                {
                  ResetPlayerWeapons(playerid);
				  SetPlayerPos(playerid, -1211.8409,-996.5524,128.2656);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to Monster Crash",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to Monster Crash ~r~(/mc)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  ResetPlayerWeapons(playerid);
				  DM[playerid] = 0;
                }
            if(listitem == 4)
                {
                  ResetPlayerWeapons(playerid);
				  SetPlayerPos(playerid, -2383.9839,2909.5325,362.3510);
				  ResetPlayerWeapons(playerid);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to Monster Crash2",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to Monster Crash2 ~r~(/mc2)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  DM[playerid] = 0;
                }
            if(listitem == 5)
                {
                  SetPlayerPos(playerid, 1427.2017,2771.5164,15.8680);
			      SetPlayerInterior(playerid, 0);
			      ResetPlayerWeapons(playerid);
			      GameTextForPlayer(playerid,"~r~~h~Welcome to Stunt Golf!",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone To Stunt Golf ~r~(/sg)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  DM[playerid] = 0;
				  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
                }
            if(listitem == 6)
                {
                  SetPlayerPos(playerid, 1637.6896,2254.9548,623.9398);
				  SetPlayerInterior(playerid, 0);
				  ResetPlayerWeapons(playerid);
				  SendClientMessage(playerid, 0xFFFF00AA, " Welcome to Multi Parkour");
				  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
				  DM[playerid] = 0;
                }
            if(listitem == 7)
                {
                  ResetPlayerWeapons(playerid);
			      if (IsPlayerInAnyVehicle(playerid)) {
			      SetVehiclePos(GetPlayerVehicleID(playerid),-2336.5281,-1627.0908,483.7049 );
			      SetVehicleZAngle(GetPlayerVehicleID(playerid), 210.552673);
			      LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
			      }
			      if (!IsPlayerInAnyVehicle(playerid)) {
			      SetPlayerPos(playerid,-2338.0388,-1610.1379,483.7186 );
			      SetPlayerFacingAngle(playerid, 242.6022);
			      SetPlayerInterior(playerid, 0);
			      ResetPlayerWeapons(playerid);
			      }
			      SendClientMessage(playerid, 0xFFFF00AA, "You Have Been Teleported To Mount Chiliad!");
			      SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
				  DM[playerid] = 0;
                }
            if(listitem == 8)
                {
                  ResetPlayerWeapons(playerid);
			      if (IsPlayerInAnyVehicle(playerid)) {
			      SetVehiclePos(GetPlayerVehicleID(playerid),-1481.8425,-194.4266,13.7062);
			      SetVehicleZAngle(GetPlayerVehicleID(playerid), 315.557678);
			      LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
			      }
			      if (!IsPlayerInAnyVehicle(playerid)) {
			      SetPlayerPos(playerid,-1460.1411,-204.3723,14.1484 );
			      SetPlayerFacingAngle(playerid, 315.557678);
			      SetPlayerInterior(playerid, 0);
			      ResetPlayerWeapons(playerid);
			      }
			      SendClientMessage(playerid, 0xFFFF00AA, "You Have Been Teleported To San Fierro Airport!");
			      SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
			      DM[playerid] = 0;
                }
            if(listitem == 9)
                {
                  ResetPlayerWeapons(playerid);
				  if (IsPlayerInAnyVehicle(playerid)) {
   				  SetVehiclePos(GetPlayerVehicleID(playerid),1293.0598,1271.3467,10.8203 );
		    	  SetVehicleZAngle(GetPlayerVehicleID(playerid), 266.558685);
		    	  LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
		    	  }
    		 	  if (!IsPlayerInAnyVehicle(playerid)) {
		    	  SetPlayerPos(playerid,1313.6654,1267.3495,10.8203 );
		    	  SetPlayerFacingAngle(playerid, 266.558685);
		    	  SetPlayerInterior(playerid, 0);
		    	  ResetPlayerWeapons(playerid);
		    	  }
		    	  SendClientMessage(playerid, 0xFFFF00AA, "You Have Been Teleported To A Airport In LV!");
		    	  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
		    	  DM[playerid] = 0;
                }
            if(listitem == 10)
                {
          		  ResetPlayerWeapons(playerid);
				  SetPlayerPos(playerid, -2789.8091,-2546.2229,1.3142);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to Monster",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to Monster ~r~(/monster)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  DM[playerid] = 0;
                }
            if(listitem == 11)
                {
                  SetPlayerPos(playerid,2603.1882324219, -1299.8951416016, 81.14811706543);
				  GameTextForPlayer(playerid,"~r~~h~Welcome to nrgs3",3000,5);
			      GetPlayerName(playerid, pname, sizeof (pname));
			      format(string3, sizeof(string3),"%s Has Gone to nrgs3 ~r~(/nrgs3)~p~", pname);
			      TextDrawDestroy(Text:Reclama);
			      Reclama = TextDrawCreate(250.000000, 435.000000, " ");
			      TextDrawFont(Reclama, 1);
			      TextDrawLetterSize(Reclama, 0.300000, 1.000000);
			      TextDrawColor(Reclama, 0x00C2ECFF);
			      TextDrawSetOutline(Reclama, 1);
			      TextDrawSetProportional(Reclama, 1);
			      TextDrawSetShadow(Reclama, 1);
			      TextDrawShowForAll(Reclama);
			      TextDrawSetString(Reclama, string3);
			      SetTimer("reclamatime",10000,false);
				  ResetPlayerWeapons(playerid);
				  SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//
				  DM[playerid] = 0;
                }
        }
    }
    return 1;
}

nu imi da nici o erroare dar cand intru pe sv dau /stunt selectez de ex stuntcrome si imi spawmeaza o masina...ce sa fac hhelp va rog!

Fara reclama in semnatura!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.