Hey Leute habe hier ein paar Errors
if(strcmp(cmd, "/me", true) == 0)
{
var = strtok(cmdtext, idx);
if(!strlen(var)) return SendClientMessage(playerid, 0xFF0000FF, "[BENUTZE] /me [Text]");
new plName[MAX_PLAYERS_NAME], string[125], Float:posX, Float:posY, Float:posZ;
GetPlayerName(playerid, plName, sizeof(plName));
format(string, sizeof(string), "* %s %s", plName, var);
GetPlayerPos(playerid, posX, posY, posZ);
ForAllPlayers(i) if(IsPlayerInRangeOfPoint(i, 50, posX, posY, poZ)) SendClientMessage(i, 0xFFFF00AA, string);
return 1;
}
C:\Users\Florian\Desktop\gtaec\gamemodes\Game-Forum.pwn(4724) : error 017: undefined symbol "var"
C:\Users\Florian\Desktop\gtaec\gamemodes\Game-Forum.pwn(4725) : error 017: undefined symbol "var"
C:\Users\Florian\Desktop\gtaec\gamemodes\Game-Forum.pwn(4727) : error 017: undefined symbol "MAX_PLAYERS_NAME"
C:\Users\Florian\Desktop\gtaec\gamemodes\Game-Forum.pwn(4727) : error 029: invalid expression, assumed zero
C:\Users\Florian\Desktop\gtaec\gamemodes\Game-Forum.pwn(4727) : error 017: undefined symbol "string"
C:\Users\Florian\Desktop\gtaec\gamemodes\Game-Forum.pwn(4727) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
MFG gtaec