Jump to content
  • 0

Ajutor Va rog .


Question

Posted

deci vreau sa fac pentru svr-ul meu de stunt,ceva de genul acesta...

if(PlayerInfo[playerid][Level] >= 1)
	{
       new messagetext[128];
	   format(messagetext, 128, "(ID:%d)["R"ADMIN"W"]: %s", playerid, text);
	   SendPlayerMessageToAll(playerid, messagetext);
	   return 0;
	}

dar in loc de admin sa apara OWNER.Cum as putea face?Adik cel care e logat RCON sa aiba la nume asta.Pls help.

3 answers to this question

Recommended Posts

Posted

if (IsPlayerAdmin(playerid))
{
   new messagetext[128];
   format(messagetext, 128, "(ID:%d)["R"OWNER"W"]: %s", playerid, text);
   SendPlayerMessageToAll(playerid, messagetext);
   return 0;
}

Cu placere ! ^_^

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.