Hi, ich hab ein Problem mit meiner GAMEMODE
TR.pwn(17688) : error 029: invalid expression, assumed zero
TR.pwn(17708) : error 029: invalid expression, assumed zero
TR.pwn(17728) : error 029: invalid expression, assumed zero
TR.pwn(17748) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Code
//---------------------------- ADMIN_KONTAKT ------------------------------------
if(strcmp(cmd, "/adminkontakt", true) == 0 || strcmp(cmd, "/deniz", true) == 0
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "====KONTAKT_ZU_DENIZ====");
SendClientMessage(playerid, COLOR_WHITE, "MSN: d.dursun@live.de");
SendClientMessage(playerid, COLOR_WHITE, "ICQ: 563-794-427");
SendClientMessage(playerid, COLOR_WHITE, "FACEBOOK: Deniz Dursun");
SendClientMessage(playerid, COLOR_WHITE, "SCHUELERVZ: Deniz Dursun");
SendClientMessage(playerid, COLOR_WHITE, "YOUTUBE: GermanHDTutorial");
SendClientMessage(playerid, COLOR_YELLOW, "========================");
SendClientMessage(playerid, COLOR_YELLOW, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
}
}
return 1;
}
//---------------------------- Forum --------------------------------------------
if(strcmp(cmd, "/forum", true) == 0 || strcmp(cmd, "/homepage", true) == 0
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "=======================");
SendClientMessage(playerid, COLOR_WHITE, "FORUM: tr.gt-reallife.de");
SendClientMessage(playerid, COLOR_YELLOW, "=======================");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
}
}
return 1;
}
//---------------------------- TeamSpeak ----------------------------------------
if(strcmp(cmd, "/teamspeak", true) == 0 || strcmp(cmd, "/ts", true) == 0
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 0)
{
SendClientMessage(playerid, COLOR_GRAD1, "===========================================");
SendClientMessage(playerid, COLOR_GRAD1, "TEAMSPEAK 3 VOICE-SERVER: 81.89.102.46:7777");
SendClientMessage(playerid, COLOR_GRAD1, "===========================================");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " ");
}
}
return 1;
}
//---------------------------- SERVER_INFO --------------------------------------------
if(strcmp(cmd, "/serverinfo", true) == 0 || strcmp(cmd, "/serverinformationen", true) == 0
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "===================SERVER_INFO===========");
SendClientMessage(playerid, COLOR_RED, "SERVERBESITZER: [LoH]Deniz");
SendClientMessage(playerid, COLOR_RED, "SERVERVERSION: LoH Version 1.0 FINAL");
SendClientMessage(playerid, COLOR_WHITE, "FORUM: tr.gt-reallife.de");
SendClientMessage(playerid, COLOR_WHITE, "SERVER IP: 81.89.107.237:7777");
SendClientMessage(playerid, COLOR_WHITE, "TEAMSPEAK3 VOICE-SERVER: 81.89.102.46:7777");
SendClientMessage(playerid, COLOR_RED, "SINCE 2008");
SendClientMessage(playerid, COLOR_YELLOW, "=========================================");
SendClientMessage(playerid, COLOR_GRAD1, " ");
}
}
return 1;
}
Alles anzeigen