[Ajuda] essa public nao funciona - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] essa public nao funciona (
/showthread.php?tid=450737)
essa public nao funciona -
iTzDemon - 14.07.2013
boas, essa public nao funciona :/ alguem sabe a razao?
pawn Код:
public AdministratorMessage(color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if (Admin[i] >= 1)
{
SendClientMessage(i, color, string);
}
}
}
return 1;
}
Re: essa public nao funciona -
darkxdll - 14.07.2013
Tente remover o const e deixar sу string[] ..
imagino que funcione ... se nгo funcionar poste aquii...
Re: essa public nao funciona -
iTzDemon - 14.07.2013
continua a nao dar
pawn Код:
public AdministratorMessage(color,string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if (Admin[i] >= 1)
{
SendClientMessage(i, color, string);
}
}
}
return 1;
}
Re: essa public nao funciona -
darkxdll - 14.07.2013
pawn Код:
stock MandarMsgAdm(COR,mensage[])
{
for( new i = 0; i < MAX_PLAYERS; i++ )
{
if(Admin[i] >= 1)
{
SendClientMessage(i,COR,mensage);
}
}
return 1;
}
Nгo testei porque nгo estou em casa :/
Re: essa public nao funciona -
iTzDemon - 14.07.2013
nao funciona tb