[Pomoc] /packet za Hitman

Započeo Ryan Sanchez, Jul 17, 2011, 00:37:50 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: mod od 0
Detaljan opis problema: Trebam Komandu /packet 1/2/3/4/5/6 za Hitman
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): Da bude na /packet 1 silenced(pistolj) i knife
na packet 2 +shotgun
na packet 3 sniper mp5 knife silenced
na packet 4 sniper mp5  knife silenced
na packet 5 sniper m4 mp5 knife silenced
na packet 6 sniper m4 mp5 shotgun knife silenced

-Gore na vrh skripte
#define Hitman_Packet 993




-Negde bilo gde u modu:

COMMAND:packet(playerid,params[])
{
if(PlayerToPoint(3.0,playerid,X,Y,Z)
{
   ShowPlayerDialog(playerid,Hitman_Packet,DIALOG_STYLE_LIST,"HITMAN PACKET","Packet-1\nPacket-2\nPacket-3\Packet-4\nPacket-5\nPacket-6","Uzmi","Odustani");
   }

}





-public OnDialogResponse
if(dialogid == Hitman_Packet)
      {

        switch(listitem)
        {
            case 0:
      {
         GivePlayerWeapon(playerid,4,1);//Knife
         GivePlayerWeapon(playerid,23,50);//Silenced (23 ID pistolja, 50 broj metaka)
      }
      case 1:
      {
         GivePlayerWeapon(playerid,4,1);//Knife
         GivePlayerWeapon(playerid,23,50);//Silenced (23 ID pistolja, 50 broj metaka)
         GivePlayerWeapon(playerid,25,50);//Shotgun
      }
       case 2:
      {
         GivePlayerWeapon(playerid,4,1);//Knife
         GivePlayerWeapon(playerid,23,50);//Silenced (23 ID pistolja, 50 broj metaka)
         GivePlayerWeapon(playerid,29,50);//MP5
         GivePlayerWeapon(playerid,34,50);//Sniper
      }
       case 3:
      {
         GivePlayerWeapon(playerid,4,1);//Knife
         GivePlayerWeapon(playerid,23,50);//Silenced (23 ID pistolja, 50 broj metaka)
         GivePlayerWeapon(playerid,29,50);//MP5
         GivePlayerWeapon(playerid,34,50);//Sniper
      }
       case 4:
      {
         GivePlayerWeapon(playerid,4,1);//Knife
         GivePlayerWeapon(playerid,23,50);//Silenced (23 ID pistolja, 50 broj metaka)
         GivePlayerWeapon(playerid,29,50);//MP5
         GivePlayerWeapon(playerid,34,50);//Sniper
         GivePlayerWeapon(playerid,31,50);//M4
      }
       case 5:
      {
         GivePlayerWeapon(playerid,4,1);//Knife
         GivePlayerWeapon(playerid,23,50);//Silenced (23 ID pistolja, 50 broj metaka)
         GivePlayerWeapon(playerid,29,50);//MP5
         GivePlayerWeapon(playerid,34,50);//Sniper
         GivePlayerWeapon(playerid,31,50);//M4
          GivePlayerWeapon(playerid,25,50);//Shotgun
       }
}
    }
Poslednja Izmena: Jul 17, 2011, 01:28:37 PRE PODNE od joXy



TREBAS nesto, znaci ovo je pogresna tema LOCK!