[Ajuda] Tem como Resolver
#1

O que se passa e que nao aparece o nome do jogador que foi teleportado " O gamemode estб do 0 o pawno tudo estб ai:
Код:
#include <a_samp>
#include <zcmd>
new pname[MAX_PLAYER_NAME];
new string[128];
main()
{
    print("GM Ligado");
    return 1;
}
public OnGameModeInit()
{
    SetGameModeText("Test");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}

COMMAND:aero(playerid)
{
    GameTextForPlayer(playerid, "~y~~h~]] ~r~~h~AERO ~y~~h~]]", 2500, 4);
	SetPlayerInterior(playerid,0);
	SetPlayerPos(playerid,263.6730,2905.4475,7.4086);
	ResetPlayerWeapons(playerid);
    GivePlayerWeapon(playerid,26,9999);
	format(string, sizeof(string), "{FF0000}[TELEPORTE] {FFFFFF} %s teleportou-se para aero  {FF0000}( /aero )", pname);
    SendClientMessageToAll(0xFF0000FF, string);
	return 1;
}


Imagem:


Antes do "teleportou-se para o aero (/aero) nao aparece o nome e no pawno eu meti direito " %s " .
Reply


Messages In This Thread
Tem como Resolver - by brunoboy - 21.07.2012, 00:26
Re: Tem como Resolver - by sanalex - 21.07.2012, 00:28
Re: Tem como Resolver - by Victor' - 21.07.2012, 00:28
Re: Tem como Resolver - by ViniBorn - 21.07.2012, 00:28
Re: Tem como Resolver - by Gii - 21.07.2012, 00:29
Respuesta: Tem como Resolver - by Brazuca[]s - 21.07.2012, 00:29
Re : Tem como Resolver - by brunoboy - 21.07.2012, 00:37
Re : Tem como Resolver - by brunoboy - 21.07.2012, 00:40

Forum Jump:


Users browsing this thread: 1 Guest(s)