Jump to content

Recommended Posts

Posted

Ajutooorrrr am gamemode si nu stiu cum dar cand sa gresesc o comanda sa imi scrie server:unknown command ajutorrr.

 

Posted

Fii mai explicit, nu imteleg nimik

Adica am un server si vreau ca atunci cand scriu /adasdfsa sa zica Server : Unknown Command

Posted

cauți publicul OnPlayerCommandPerformed și îl înlocuiești cu 

public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
	if(strcmp(cmdtext, "/turfs", true) == 0 || strcmp(cmdtext, "/frac", true) == 0)
	{
		success = 1;
	}
	if(!success) return SCM(playerid, COLOR_WHITE, "SERVER: Error. Unknown command.");
	return 1;
}
Posted

@, Si crezi ca pe google scrie singur? ... Tot alti scripteri posteaza .omg.

 

*Incarca ce ti-a dat AlexC si posteaza daca nu ti-a mers. 

Nu merge te rog ajutama raspunde pe skype la mcx.haisuru

Posted (edited)

Nu iti va da nimeni mura-n gura.

Ai functia "succes", folosestete de ea.

Un exemplu:

if(!succes) return SendClientMessage(playerid, 0xFFFFFF, "lalal, blalalal");
Edited by Mather
Posted (edited)

Sa-mi spui daca-ti merge.

public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessage(playerid, COLOR_GREY, "SERVER: Unknown Command.");
    return 1;
}
Edited by Phane
Posted

 

Sa-mi spui daca-ti merge.

public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessage(playerid, COLOR_GREY, "SERVER: Unknown Command.");
    return 1;
}

Esti bun chiar a mers daca se poate dami skype-ul tau prin pm sa vorbim ceva.

 

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

Important Information

By using this site, you agree to our Terms of Use. 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.

moduri samp