15.12.2012, 13:45
pawn Код:
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2488) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2488) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2488) : error 029: invalid expression, assumed zero
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2496) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2496) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2496) : error 029: invalid expression, assumed zero
pawn Код:
if(AccInfo[playerid][Level] >= 1 && AccInfo[playerid][Level] <= 9)
{
new string[128];
format(string,sizeof(string),"{5C586D}[Admin] {FF0000}%s: {FFFFFF}%s", GetPlayerName(playerid),text[]);
SCMTA(-1,string);
return 1;
}
if(AccInfo[playerid][Level] >= 10)
{
new string[128];
format(string,sizeof(string),"{00FF00}[Owner] {FF0000}%s: {FFFFFF}%s",GetPlayerName(playerid),text[]);
SCMTA(-1,string);
return 1;
}