Jump to content
  • 0

pomoc 3errors and 1 warning


Guest MiNNo

Dotaz

Hojte mam menší problém robil som Warpy cez menu,pretože som to sem chcel dať ako TuT,FS ale vyhodilo mi 3 mini errory a 1 warning dával somsi to aj preložit ale newiem co to moze byt tak tu si errory a warningy :

C:\Documents and Settings\user\Plocha\meheheheee.pwn(65) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\Plocha\meheheheee.pwn(65) : error 004: function "OnPlayerSelectedMenuRow" is not implemented
C:\Documents and Settings\user\Plocha\meheheheee.pwn(72) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\Plocha\meheheheee.pwn(205) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.

 

A tu dám riadky : 65 - public OnPlayerSelectedMenuRow(playerid, row) //nechapem co tam moze byt zle..

 

72 - switch(row)

 

205+206 - return 1;

}

 

2posledne riadky v FS ...

 

PS: v tom túte bude aj popis tých vecí...

Link to comment
Share on other sites

3 odpovědí na tuto otázku

Recommended Posts

  • 0

ten publick nemas nekde uzavrenej...zkontroluj si zavorky retur e jestli tam mas ; pak je tam jeste nejaky error...u toho radku 205 a 72 napis tam vice radku..ne jen jeden...napis tak 3 nad a pod

Link to comment
Share on other sites

  • 0

72 : new Menu:current;

current = GetPlayerMenu(playerid);

if(current == tut)

{

switch(row)

{

case 0:{

//Row 1 code

 

 

205 : SendClientMessageToAll(COLOR_BLUE,"Hráč %s sa portol do arei 51.");

GivePlayerWeapon(playerid,26,99999);

GivePlayerWeapon(playerid,28,99999);

GivePlayerWeapon(playerid,31,99999);

SetPlayerArmour(playerid, 100.0);

SetPlayerHealth(playerid, 100.0);

SetPlayerInterior(playerid,0);

SetPlayerPos(playerid,179.8973,1925.9773,17.9937);

}

}

}

return 1;

}

 

 

return 0;

}

Link to comment
Share on other sites

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...