22.04.2011, 03:07
ok.. can someone just fix these:
isk wuts rong wit that...
says ip2 has to be indexed. :!!!!!!!!!!!!!!!!!!!!!!!!!!!! WHAT TO DO
pawn Код:
print(" (__) ");
print(" (oo) ");
print(" /------\/ ");
print(" / | || ");
print("* /\---/\ ");
pawn Код:
new ip2[24];
GetPlayerIp(playerid, ip2, sizeof(ip2));
if(ip2 == dj(str, "IP", true))
{
SetPlayerScore(playerid, djInt(str, "player/SCORE"));
pRank[playerid] = djInt(str, "player/RANK");
GivePlayerMoney(playerid, djInt(str, "player/CASH"));
}
else
{
new string[128];
format(string, sizeof(string), "You arent the real %s! GTFO!", pname);
SendClientMessage(playerid, COLOR_RED, string);
Kick(playerid);
}