Jump to content
  • 0

pomoc Bezdôvodné errory


KinGStoN

Dotaz

cawte potreboval by som pomôct s jednou vecou....

 

#define P_POLICIA

new Zamestnanie[MAX_PLAYERS_EX];

new Menu:P_PoliciaLS;

new Menu:P_PoliciaLV;

new Menu:P_PoliciaSF;

 

public OnPlayerSelectedMenuRow(playerid, row)

{

new Menu:Current = GetPlayerMenu(playerid);

if(Current == P_PoliciaLS)

{

switch(row)

{

case 0:

{

Zamestnanie[playerid] = P_POLICIA;

SetPlayerSkin(playerid, 280);

SendClientMessage(playerid, FARBA_MODRA, "[ ! ] Pripojil si sa ku mestskej polícii LSPD.");

SendClientMessage(playerid, FARBA_SVETLOMODRA, "Príkazy: /zat /hide /unhide /s /k /p");

}

case 1:

{

HideMenuForPlayer(P_PoliciaLS, playerid);

}

}

}

if(Current == P_PoliciaLV)

{

switch(row)

{

case 0:

{

Zamestnanie[playerid] = P_POLICIA;

SetPlayerSkin(playerid, 281);

SendClientMessage(playerid, FARBA_MODRA, "[ ! ] Pripojil si sa ku mestskej polícii LVPD.");

SendClientMessage(playerid, FARBA_SVETLOMODRA, "Prikazy: /jail /hide /unhide /s /k /p");

}

case 1:

{

HideMenuForPlayer(P_PoliciaLV, playerid);

}

}

}

if(Current == P_PoliciaSF)

{

switch(row)

{

case 0:

{

Zamestnanie[playerid] = P_POLICIA;

SetPlayerSkin(playerid, 282);

SendClientMessage(playerid, FARBA_MODRA, "[ ! ] Pripojil si sa ku mestskej polícii SFPD.");

SendClientMessage(playerid, FARBA_SVETLOMODRA, "Prikazy: /jail /hide /unhide /s /k /p");

}

case 1:

{

HideMenuForPlayer(P_PoliciaSF, playerid);

}

}

}

return 1;

}

 

 

potom mi tam vyskocia bezdôvodne errory:

 

C:\Documents and Settings\Rodina\Desktop\Grand Theft Auto San Andreas\gamemodes\realplanetb.pwn(937) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Rodina\Desktop\Grand Theft Auto San Andreas\gamemodes\realplanetb.pwn(1224) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Rodina\Desktop\Grand Theft Auto San Andreas\gamemodes\realplanetb.pwn(1241) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Rodina\Desktop\Grand Theft Auto San Andreas\gamemodes\realplanetb.pwn(1258) : error 029: invalid expression, assumed zero

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

4 Errors.

 

Link to comment
Share on other sites

6 odpovědí na tuto otázku

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...