12.09.2014, 19:50
Sounds like a troll.
if(playerid == INVALID_PLAYER_ID) return 0;
//stop the code here before it causes trouble..
//so it would be used kinda like this, could be done multiple ways too.
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(playerid == INVALID_PLAYER_ID) return 0;//stop the invalid player here
if(issuerid == INVALID_PLAYER_ID) return 0;//Stop the invalid player here
//some of your code here
return 1;
}
GRX Registered account here with this name GRX
His account his not activated by moderator he need wait he gave me some log again about server crash [3:27:28 PM] furqan579: [12:09:22] Socket plugin successfully unloaded. [12:09:22] [debug] Server crashed due to an unknown error [12:09:22] [debug] Native backtrace: [12:09:22] [debug] #0 f69f5936 in _ZN10StackTraceC2EPv () from plugins/crashdetect.so [12:09:22] [debug] #1 f69f0f33 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [12:09:22] [debug] #2 f69f1a62 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [12:09:22] [debug] #3 f69f1f63 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [12:09:22] [debug] #4 f69f563d in ?? () from plugins/crashdetect.so [12:09:22] [debug] #5 f7748410 in ?? () [12:09:22] [debug] #6 f74b261f in ?? () from /lib/i386-linux-gnu/libc.so.6 [12:09:22] [debug] #7 4b352e01 in my_no_flags_free () from /usr/lib/libmysqlclient_r.so.15 [12:09:22] [debug] #8 4b377679 in free_rows () from /usr/lib/libmysqlclient_r.so.15 [12:09:22] [debug] #9 4b3776d7 in mysql_free_result () from /usr/lib/libmysqlclient_r.so.15 [12:09:22] [debug] #10 f7377801 in _ZN13CMySQLHandler10FreeResultEv () from plugins/mysql.so [12:09:22] [debug] #11 f737a235 in _ZN13CMySQLHandlerD1Ev () from plugins/mysql.so [12:09:22] [debug] #12 f73801fc in Unload () from plugins/mysql.so [12:09:22] [debug] #13 080cfe1b in ?? () from samp03svr [12:09:22] [debug] #14 080a8992 in ?? () from samp03svr [12:09:22] [debug] #15 f74554d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6 [12:09:22] [debug] #16 0804b4d1 in ?? () from samp03svr |