Okay
Ganz oben
new Menu:Guide;
Bei "OnGameModeInit"
Guide = CreateMenu("LS Touristen Guide", 2, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(Guide, 0, "Stadthalle");
return 1;
}
Bei "OnPlayerCommandText"
if (strcmp("/Guide", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0,1129.0007,-1460.4590,15.7969))
{
ShowMenuForPlayer(Guide,playerid);
}
else
{
SendClientMessage(playerid,GRAU,"Du bist nicht am Noobspawn.");
return 1;
}
}
Bei "public OnPlayerSelectedMenuRow"
{
new Menu:CurrentMenu = GetPlayerMenu(playerid);
if(CurrentMenu == Guide)
{
switch(row)
{
case 0: //Stadthalle
{
SetPlayerCheckpoint(playerid,1481.1182,-1767.5552,18.7958,2.0);
SendClientMessage(playerid, COLOR_GREY, "Die Stadthalle wurde auf der Karte makiert");
return 1;
}
}
}
Errors
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(748) : error 017: undefined symbol "COLOR_GREY"
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(754) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(754) : error 004: function "OnPlayerExitedMenu" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(759) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(759) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(759) : error 004: function "OnPlayerInteriorChange" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(764) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(764) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(764) : error 004: function "OnPlayerKeyStateChange" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(769) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(769) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(769) : error 004: function "OnRconLoginAttempt" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(774) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(774) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(774) : error 004: function "OnPlayerUpdate" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(779) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(779) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(779) : error 004: function "OnPlayerStreamIn" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(784) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(784) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(784) : error 004: function "OnPlayerStreamOut" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(789) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(789) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(789) : error 004: function "OnVehicleStreamIn" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(794) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(794) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(794) : error 004: function "OnVehicleStreamOut" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(799) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(799) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(799) : error 004: function "OnDialogResponse" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(804) : warning 225: unreachable code
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(804) : error 029: invalid expression, assumed zero
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(804) : error 004: function "OnPlayerClickPlayer" is not implemented
C:\Users\bL4cK_OuT\Desktop\Server\gamemodes\Reallife.pwn(808) : error 030: compound statement not closed at the end of file (started at line 740)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
24 Errors.