Hey ich habe 4 Errors und zwar folgende:
C:\Users\-\Desktop\Samp Server\gamemodes\Reallife.pwn(381) : warning 213: tag mismatch
C:\Users\-\Desktop\Samp Server\gamemodes\Reallife.pwn(551) : error 029: invalid expression, assumed zero
C:\Users\-\Desktop\Samp Server\gamemodes\Reallife.pwn(551) : warning 215: expression has no effect
C:\Users\-\Desktop\Samp Server\gamemodes\Reallife.pwn(551) : error 001: expected token: ";", but found "if"
C:\Users\-\Desktop\Samp Server\gamemodes\Reallife.pwn(551) : error 036: empty statement
C:\Users\-\Desktop\Samp Server\gamemodes\Reallife.pwn(551) : fatal error 107: too many error messages on one line
Einmal Zeile 381:
if(PlayerToPoint(2.0, playerid,1399.9186,-1769.0513,13.5469 // Die Error Zeile ))
{
SetPlayerPos(playerid,-2024.7223,-114.0907,1035.1719);
SetPlayerInterior(playerid,3);
TogglePlayerControllable(playerid,0);
theori1(playerid);
SetTimerEx("theori2", 20000, 0, "d", playerid);
SetTimerEx("theori3", 50000, 0, "d", playerid);
SetTimerEx("theori4", 70000, 0, "d", playerid);
SetTimerEx("theori5", 90000, 0, "d", playerid);
SetTimerEx("theori6", 120000, 0, "d", playerid);
SetTimerEx("theori7", 150000, 0, "d", playerid);
}
Und einmal Zeile 551:
public OnPlayerSelectedMenuRow(playerid, row)
{
else if(GetPlayerMenu(playerid) == test4);//Die Error Zeile
{
switch(row)
{
case 0:
{
SendClientMessage(playerid, ROT, "Das war die falsche Antwort. Leider durchgefallen.");
TogglePlayerControllable(playerid, 1);
}