SA-MP Forums Archive
[Ajuda] Instalaзгo public - 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] Instalaзгo public (/showthread.php?tid=441150)



Instalaзгo public - ThiagoMK - 01.06.2013

Galera me ajudem a colocar esse sistema passo a passo por favor sou iniciante

Код:
if(text[0] == ';')
 {
 PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
 for(new i; i != MAX_PLAYERS; i++)
 {
 new Float[3];
 GetPlayerPos(i,p[0],p[1],p[2]);
 if(IsPlayerInRangeOfPoint(playerid,15.0,p[0],p[1],p[2]))
 {
 if(MSG[i] == false)
 {
 new sStr[256];
 new Name[24];
 GetPlayerName(playerid,Name,24);
 format(sStr,128,"%s(%i): %s",Name,playerid,text[1]);
 SendClientMessage(i,0x00FFFFAA,sStr);
 PlayerPlaySound(i,1057,0.0,0.0,0.0);
 MSG[i] = true;
 }
 MSG[i] = false;
 return 0;
 }
 }
 }



Re: Instalaзгo public - MonFiTy - 01.06.2013

nao sei nao mas me parece que OnPlayerText '-'


Re : Instalaзгo public - ThiagoMK - 01.06.2013

Sim й OnPlayerText '-'


Re: Instalaзгo public - Cromado - 01.06.2013

Parece em Onplayertext ou Onplayerspawn


Re: Instalaзгo public - connork - 01.06.2013

Й em OnPlayerText, vocк declarou as variбveis?


Re : Re: Instalaзгo public - ThiagoMK - 01.06.2013

Quote:
Originally Posted by connork
Посмотреть сообщение
Й em OnPlayerText, vocк declarou as variбveis?
Acho que sim cara peguei de um amigo