AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Pawn (https://forums.alliedmods.net/showthread.php?t=163056)

Marcony 07-26-2011 09:15

[HELP] Pawn
 
How to solve this bug ? In the logs it appears that the bug in this line :

Code:

ShowSyncHudMsg(id, SyncHudObj, "Klasa : %s^nIskustvo : %i /  %i^nLevel : %i^nPredmet : %s", naziv_klase[klasa_igraca[target]],  iskustvo_igraca[target], iskustvo_levelu[level_igraca[target]],  level_igraca[target],  naziv_predmeta[informacije_predmet_igraca[target][0]]);
L 07/26/2011 - 12:45:28: [AMXX] [0] cod.sma: PokaziInformacije (line 1730)

And bug in line :

Code:

new target = entity_get_int(id, EV_INT_iuser2);
I am from Serbia, and sorry for my bad English.

SnoW 07-26-2011 09:31

Re: [HELP] Pawn
 
The error is how probably exactly what the debugger said. And no, you did not include it in your post.

drekes 07-26-2011 12:44

Re: [HELP] Pawn
 
Post the whole code & whole error.


All times are GMT -4. The time now is 01:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.