Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

problema cmd


Guest AsAsIn

Question

Posted

am pus comanda /forum ca sa arate forumul iar cand folosesc comanda pe server imi apare de multe ori forumu

ce trebuie sa modific?

if(strcmp(cmdtext, "/forum", true) == 0)
	{
    for(new i = 0; i < MAX_PLAYERS; i ++)
    {
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "   www.*****.info !");
	}
	return 1;
	}

4 answers to this question

Recommended Posts

Posted

SendClientMessage(i, COLOR_LIGHTBLUE, "  www.*****.info !");

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

Posted

ms mult, si mai am o problema cu /healall

    tot la fel, imi apare de multe ori si are acces oricine la ea.. vreau sa aiba acces doar 1337 si 1338

   

if(strcmp(cmdtext, "/healall", true) == 0)
    {
    for(new i = 0; i < MAX_PLAYERS; i ++)
    {
    SetPlayerHealth(i, 100);
    SendClientMessageToAll(0x33AA33AA , "Adminul v-a dat viata la toti.");
	}
    return 1;
    }

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.