if(pInfo[playerid][pAdmin] < 1 && weaponid == 38 || weaponid == 36) { new string[110]; format(string,sizeof(string),"%s has been kicked for weapons cheats.", GetName(playerid)); SendClientMessageToAll(COLOR_RED, string); Kick(playerid); }
[08:49:12] [debug] Server crashed due to an unknown error [08:49:12] [debug] Native backtrace: [08:49:12] [debug] #0 004853e1 in ?? () from samp-server.exe [08:49:12] [debug] #1 6c266401 in ?? () from plugins\crashdetect.DLL [08:49:12] [debug] #2 6c280a0c in ?? () from plugins\crashdetect.DLL [08:49:12] [debug] #3 6c0e51c6 in ?? () from plugins\streamer.DLL [08:49:12] [debug] #4 0046f3e3 in ?? () from samp-server.exe [08:49:12] [debug] #5 00490020 in ?? () from samp-server.exe [08:49:12] [debug] #6 00490032 in ?? () from samp-server.exe [08:49:12] [debug] #7 6be81bd3 in ?? () from plugins\mysql.DLL [08:49:12] [debug] #8 0048d4db in ?? () from samp-server.exe [08:49:12] [debug] #9 5c8b01f8 in ?? () from samp-server.exe [08:49:12] [debug] #10 61750824 in ?? () from samp-server.exe
if(pInfo[playerid][pAdmin] < 1 && weaponid == 38)
{
new string[110];
format(string,sizeof(string),"%s has been kicked for weapons cheats.", GetName(playerid));
SendClientMessageToAll(COLOR_RED, string);
Kick(playerid);
}
if(weaponid == 36)
{
new string[110];
format(string,sizeof(string),"%s has been kicked for weapons cheats.", GetName(playerid));
SendClientMessageToAll(COLOR_RED, string);
Kick(playerid);
}
a && b || c //shit :(
a && (b || c) //ok :)
if(pInfo[playerid][pAdmin] < 1 && (weaponid == 38 || weaponid == 36))
{
new string[110];
format(string,sizeof(string),"%s has been kicked for weapons cheats.", GetName(playerid));
SendClientMessageToAll(COLOR_RED, string);
Kick(playerid);
}
PHP код:
PHP код:
|