dcmd_call(playerid, params[])
{
new number;
if(sscanf(params,"d",number))
{
return SendClientMessage(playerid, COLOR_GREY, "[Benutzung]: /call [Nummer]");
}
else
{
for(new i = 0;i<MAX_PLAYERS;i++)
{
if{number == pInfo[i][nummer])
{
CallPartner[playerid] = i;
Call[playerid] = 1;
}
}
}
return 1;
}
hall leute ich hoffe ihr könnt mir helfen ich bekomme flogenden error in der if{number == pInfo[nummer]) zeile was ist das??
C:\Users\Martin\Desktop\server\gamemodes\nlcreallife.pwn(923) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.