if(strcmp(cmd, "/relato", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, "Voce nгo estб logado!");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_RED, "USE: /relato [TEXTO]");
return 1;
}
format(string, sizeof(string), "Relato de %s[%d]: %s", sendername, playerid, (result));
ABroadCast(0xFFFF66FF,string,1);
AntFloodRelato[playerid] = 1;
SetTimerEx("AntFloodRelato", 5000, false, "i", playerid);
SendClientMessage(playerid, 0xFFFF66FF, "Seu Relato foi enviado, aguarde 5 segundos para mandar novamente!");
}
return 1;
//No Topo do GameMode
new AntFloodRelato[MAX_PLAYERS];
forward AntFloodRelato(playerid);
//No Final do GameMode
)
public AntFloodRelato(playerid)
{
if(IsPlayerConnected(playerid))
{
if(AntFloodRelato[playerid] == 1)
{
AntFloodRelato[playerid] = 0;
}
}
}
C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pw n(25104) : warning 217: loose indentation C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pw n(25106) : error 017: undefined symbol "fila" C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pw n(25106) : warning 215: expression has no effect C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pw n(25106) : error 001: expected token: ";", but found "]" C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pw n(25106) : error 029: invalid expression, assumed zero C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pw n(25106) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
Muito Obrigado bruno-style vo utilazer ele , mais ai se alguem souber o /senha ou o /fila se nгo for emcomodo xD.
|
if(strcmp("/senha", cmd, true) == 0)
{
new string[500];
SendClientMessage(playerid, COLOR_GRAD1,"Vocк tirou uma senha, aguarde sua vez!....");
SetTimer("EsperarAtendimento", 10000, 0);
EsperarAtendimento[playerid] = 1;
)
if(IsPlayerAdmin(playerid))
{
format(string, sizeof(string)," %s Pegou uma Senha",name);
SendClientMessage(playerid, COLOR_GRAD1,string");
return 1;
}
//NO TOPO DO GAMEMODE
new EsperarAtendimento[MAX_PLAYERS];
forward ChegouSuaVez(playerid);
//NO FINAL DO GAMEMODE
public ChegouSuaVez(playerid)
{
if(IsPlayerConnected(playerid))
{
if(EsperarAtendimento[playerid] == 1)
{
EsperarAtendimento[playerid] = 0;
)
if(IsPlayerAdmin(playerid))
{
new string[500];
format(string, sizeof(string),"Chegou a Vez do %s Vб Nele Rapido!!",name);
SendClientMessage(playerid, 0xFFFFFFAA,string");
SendClientMessage(playerid, 0xFFFFFFAA,string");
}
}
C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(3112) : error 004: function "FixHour" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(4628) : error 004: function "FixHour" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5231) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5232) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5233) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5249) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5250) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5251) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5267) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5268) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5269) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5297) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5309) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5324) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5336) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5980) : error 017: undefined symbol "GetName" C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5984) : error 017: undefined symbol "GetName" C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(5988) : error 004: function "ProxDetector" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(6000) : error 017: undefined symbol "GetName" C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(6004) : error 004: function "ProxDetector" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(6024) : error 004: function "ProxDetector" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(6040) : error 004: function "ProxDetector" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(6060) : error 004: function "ProxDetector" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(6076) : error 004: function "ProxDetector" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(6097) : error 004: function "ProxDetector" is not implemented C:\DOCUME~1\space\Desktop\GMLUIZ~1\GAMEMO~1\BSL.pwn(6113) : error 004: function "ProxDetector" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.