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

Problema gamemode..........


Question

Posted

SAlut all, am si eu o problema :( am cut un gamemode....dar s-a facut un bug ceva gen... orice comanda folosesc zice server:unknown command, dar se compileaza perfect, si comenzile exista.....ce e de facut? va rog help meeeeee!

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

2 answers to this question

Recommended Posts

  • 0
Posted

Da scuze...era greseala. mea... aveam inclus <zcmd> dar totate comenzile erau cu sscanf..... T/C

 

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

  • 0
Posted

Folosesti:

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/mycommand", cmdtext, true, 10) == 0)
	{
		return 1;
	}
	return 0;
}

sau ZCMD?

CMD:mycommand(playerid, params[])
{
    return 1;
}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.