Jump to content
  • 0

Question

3 answers to this question

Recommended Posts

Posted

ma deci tu ai comanda ban, ceva de genul asta:

	if(strcmp(cmd, "/ban", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
	    	tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /ban [playerid/PartOfName] [reason]");
				return 1;
			}
			giveplayerid = ReturnUser(tmp);
			if (PlayerInfo[playerid][pAdmin] >= 1)
			{
aici o pui, dupa
if(PlayerInfo[playerid][pAdmin] >= 1)
{

pui aia si aproape de sfarsit inchizi acolada corespunzatoare, tre sa iti dai seama unde sa o inchizi ca e simplu..

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.