Jump to content
  • 0

Deci e greu la comenzi


Guest Dani

Question

Salut

Deci tot timpu aveam probleme :|

la comenzi! :|

public OnPlayerCommandText(playerid, cmdtext[])
{
 if(strcmp("/parkour", cmdtext, true, 10) ==0);

 SetPlayerPos(playerid, 2158.2324, -1032, 1508);
 SetPlayerFacingAngle(playerid);

	{
		 SetPlayerPos(playerid, 2158.2324, -1032, 1508);
 SetPlayerFacingAngle(playerid); 
Si imi da eroarea
D:\GTA CEL MAI BUN\Serverul Meu\gamemodes\SFFB.pwn(436) : error 036: empty statement 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Guest Mariachi

Pai nu e aranjat bine , incearca asta ( nu sunt sigur ca merge 100% ) :

public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp("/parkour", cmdtext, true, 10) ==0);
	{
		SetPlayerPos(playerid, 2158.2324, -1032, 1508);
		SetPlayerFacingAngle(playerid);
	}
	return 1;
}

Acum am vazut , pai SetPlayerPos si SetPlayerFacingAngle nu sunt complete ... verifica pe wiki

Link to comment
Share on other sites

  • 0

public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp("/parkour", cmdtext, true) ==0);
	{
		SetPlayerPos(playerid, 2158.2324, -1032, 1508);
		SetPlayerInterior(playerid, 0);
	}
	return 1;
}

adik asta

Iti da aia pt k ai uitat o { dupa if

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

Link to comment
Share on other sites

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.