[Ajuda]/tirardisfarce
#1

if (strcmp("/tirardisfarce", cmdtext, true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
//Coloca o cуdigo para checar se ele й hitman.
SetPlayerSkin(i, 294);
ShowPlayerNameTagForPlayer(playerid, i, false);
}
return 1;
}

olhe ae tipo qual o codigo que eu coloco ali para ele verificar se o player й hitman?
Reply
#2

Й algo parecido com isso:

Код:
public IsANorteno(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	    new leader = PlayerInfo[playerid][pLeader];
	    new member = PlayerInfo[playerid][pMember];
Reply
#3

pawn Код:
if (strcmp("/tirardisfarce", cmdtext, true) == 0)
{
    if(GetPlayerSkin(playerid) != SKIN_HITMAN) return SendClientMessage(playerid, -1, "# Y U NO Й HITMAN");
   
    SetPlayerSkin(playerid, 294);
    for(new i; i != GetMaxPlayerS(); ++i) if(IsPlayerConnected(i))ShowPlayerNameTagForPlayer(playerid, i, false);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)