zombies dm
#1

hi i was search to any zombie dm and i didn't find any thing and i created 1 by self when i put it in my gm i got 4 errors
pawn Код:
if(!strcmp(cmdtext, "/zdm", true))
{
    ShowPlayerDialog(playerid,7777, DIALOG_STYLE_LIST, "Zombies War", "Zombie \nFBI, "Select", "Cancel");
    }
    return 1;
pawn Код:
if(dialogid == 7777);
            if(listitem == 0)
            {
                SendClientMessage(playerid, COLOR_RED, "Eat The Human BRAAIN!!");
                SetPlayerSkin(playerid, 162);
                SetPlayerPos(playerid,-1792.4313,811.4731,342.1284,359.3210);
                GivePlayerWeapon(playerid, 6,);
               
            }
            if(listitem == 1)
            {
              SendClientMessage(playerid, COLOR_RED, "Kill The Zombies");
              SetPlayerSkin(playerid, 286);
              SetPlayerPos(playerid,-1762.6693,880.4736,342.1284,152.5424);
              GivePlayerWeapon(playerid, 24,);
              GivePlayerWeapon(playerid, 30,);
            }
            return 1;
            }

Код:
F:\FreeRoam World\gamemodes\Freeroam1.pwn(6788) : error 001: expected token: "-string end-", but found "-identifier-"
F:\FreeRoam World\gamemodes\Freeroam1.pwn(6788) : error 017: undefined symbol "Select"
F:\FreeRoam World\gamemodes\Freeroam1.pwn(6788) : error 001: expected token: ";", but found "-identifier-"
F:\FreeRoam World\gamemodes\Freeroam1.pwn(6788) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

Here you go.
pawn Код:
if(dialogid == 7777)
{
    if(listitem == 0)
    {
        SendClientMessage(playerid, COLOR_RED, "Eat The Human BRAAIN!!");
        SetPlayerSkin(playerid, 162);
        SetPlayerPos(playerid,-1792.4313,811.4731,342.1284); //You got one coord more then you needed here (I removed it for you)
        GivePlayerWeapon(playerid, 24,100); //You for got to put the ammo value here
        GivePlayerWeapon(playerid, 30, 100); //Same here
   }
   if(listitem == 1)
   {
       SendClientMessage(playerid, COLOR_RED, "Kill The Zombies");
       SetPlayerSkin(playerid, 286);
       SetPlayerPos(playerid,-1762.6693,880.4736,342.1284); //You got one coord more then you needed here (I removed it for you)
       GivePlayerWeapon(playerid, 24,100); //You for got to put the ammo value here
       GivePlayerWeapon(playerid, 30, 100); //Same here
   }
   return 1;
}
Reply
#3

i have the same 4 errors
Reply
#4

You forgot a " at the end on your text
pawn Код:
ShowPlayerDialog(playerid,7777, DIALOG_STYLE_LIST, "Zombies War", "Zombie \nFBI", "Select", "Cancel");
Reply
#5

thnx it work

i will release this map soon
Reply
#6

pawn Код:
ShowPlayerDialog(playerid,7777, DIALOG_STYLE_LIST, "Zombies War", "Zombie \nFBI", "Select", "Cancel");
EDIT: Too Late ^
Reply
#7

cyper ghost it work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)