*** Not a descriptive title - ******.
#1

Heay guys,

mein Script:

Код:
public OnPlayerExitedMenu(playerid)
{
	new Menu:CurrentMenu = GetPlayerMenu(playerid);
	if(CurrentMenu == BSMK || CurrentMenu == PMK || CurrentMenu == CBKM)
	{
		UnFreezePlayer(playerid);
	}
	if(CurrentMenu == PruefungMenu && (GetPVarInt(playerid,"Driving") == 0)  
	{                                                                                   LINE 898
		ShowMenuForPlayer(PruefungMenu,playerid);
	}
	if(CurrentMenu == MotorradMenu && (GetPVarInt(playerid,"Motorad") == 0)
	{                                                                               LINE 902
	    ShowMenuForPlayer(MotorradMenu,playerid);
	}
	return 1;
}
My Error's:

Код:
C:\Users\Kerem\Desktop\UltimateFreeStyl\gamemodes\Reallife.pwn(898) : error 029: invalid expression, assumed zero
C:\Users\Kerem\Desktop\UltimateFreeStyl\gamemodes\Reallife.pwn(902) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#2

pawn Код:
if( CurrentMenu == PruefungMenu && GetPVarInt( playerid, "Driving" ) == 0 )
{
    ShowMenuForPlayer( PruefungMenu, playerid );
}
if( CurrentMenu == MotorradMenu && GetPVarInt( playerid, "Motorad" ) == 0 )
{
    ShowMenuForPlayer( MotorradMenu, playerid );
}
Reply
#3

I Love u <3 Thx DD

#closed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)