Jump to content

Problema erori.


Vlady

Recommended Posts

1) Objects.pwn(19) : error 025: function heading differs from prototype

public OnPlayerEditObject(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)
{
	if(arg1)
	{
		Streamer_CallbackHook(2, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
	}
	return 1;
}


2) Objects.pwn(28) : error 025: function heading differs from prototype

public OnPlayerSelectObject(arg0, arg1, arg2, arg3, arg4, arg5, arg6)
{
	if(arg1 == 2)
	{
		Streamer_CallbackHook(3, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
	}
	return 1;
}


3) Objects.pwn(37925) : error 001: expected token: "-identifier-", but found "new"

4) Objects.pwn(37927) : error 029: invalid expression, assumed zero
5) Objects.pwn(37930) : warning 213: tag mismatch

for(new var0 = 0, new var1, new var2 = 0, new var3 = 4, Streamer_GetUpperBound(0), var1 = Streamer_GetUpperBound(0); var0 != var1; var0++)
	{
		if(IsValidDynamicObject(var0))
		{
			new var2 = 0;
			Streamer_GetFloatData(0, var0, 38, var2);
			Streamer_SetFloatData(0, var0, 13, var2);
		}
	}

erorile 3,4 si 5 sunt pt. asta de sus
 

Cum le rezolv?

Link to comment
Share on other sites

5 hours ago, Vlady said:

Ce DeAMX visezi? Daca nu stii sa ma ajuti atunci nu te baga!

Nici un om nu ar scrie acel cod din primul post; acel cod este generat de un program de calculator, iar dupa structura si numele argumentelor e generat de DeAMX.

As putea sa te ajut, dar acele probleme sunt mult prea banale. Pur si simplu trebuie sa dai copy-paste la vreo 3 linii din streamer.inc, stergi cateva virgule si este gata, insa se pare ca e muuult prea greu sa citesti si sa traduci cateva erori care iti zic mura in gura unde este problema si cum trebuie rezolvata.

In concluzie, daca nu esti in stare sa le rezolvi singur, atunci nu vei fi in stare nici sa rulezi un server.

Link to comment
Share on other sites

T.C. aceasta este o categorie de disctuii, nu de ajutor scripting, sau de ajutor fur scripturi.

De amxul reproduce la fel codul

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • Mister locked, unlocked and locked this topic
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.