Jump to content
  • 0

Deci e greu la comenzi


Question

Posted

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 

2 answers to this question

Recommended Posts

  • 0
Guest Mariachi
Posted

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

  • 0
Posted

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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.