[Ajuda] Olhadinha
#1

Olha se ta tudo certo galera !
Код:
#include <a_samp>

COMMAND:trazertodos(playerid, params[])
{
    new Float:X,
	 Float:Y,
	  Float:Z,
	   don[250],
	    AdminName[24];
    GetPlayerPos(playerid, X, Y, Z);
    if (APlayerData[playerid][LoggedIn] == true)
	{
	  if (APlayerData[playerid][PlayerLevel] >= 5)
	  {
         for(new i = 0; i < MAX_PLAYERS; ++i)
         {
             if(IsPlayerConnected(I))
             {
                 SetPlayerPos(i, X+1, Y+1, Z);
             }
         }
         format(don, sizeof(don), "O Admin {1B95E0}%s{00C2EC} puxou todos os jogadores atй ele.", AdminName);
         SendClientMessageToAll(-1,don);
	  }
	}
    return 1;
}
Reply


Messages In This Thread
Olhadinha - by Natan_silva - 24.09.2012, 23:51
Re: Olhadinha - by Q.I - 24.09.2012, 23:54
Re: Olhadinha - by ViniBorn - 25.09.2012, 00:13

Forum Jump:


Users browsing this thread: 1 Guest(s)