C:\Users\Dell\Desktop\Others\SAMP\Server\gamemodes \plrpv2.pwn(1140 : warning 204: symbol is assigned a value that is never used: "string" |
CMD:upgrade(playerid, params[]) { new string[128]; if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "[!]To use the command, you must first login."); if(!PlayerInfo[playerid][pUpgradePoints]) return SendClientMessage(playerid, COLOR_GREY, "[!]You don't have upgrade points."); if(sscanf(params, "s[32]", params)) return SendClientMessage(playerid, COLOR_WHITE, "CMD:{FFFFFF} /upgrade [items]"); if(!strcmp(params, "armor", true)) { } return 1; }
CMD:ustara(playerid, params[]) { new playerb, string[128], weaps, weapons[13][2]; if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "[!]To use the command, you must first login."); if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "[!]You are not a Cops."); if(sscanf(params,"u",playerb)) return SendClientMessage(playerid, COLOR_LIGHTRED, "CM:{FFFFFF} /ustara [playerid]"); if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "[!]Invalid id."); if(!IsPlayerNearPlayer(playerid, playerb, 3)) return SendClientMessage(playerid, COLOR_GREY, "[!]You can't search the player from this distance."); if(!IsPlayerCuffed(playerb) && !Tied[playerb] && GetPlayerSpecialAction(playerb) != SPECIAL_ACTION_HANDSUP) return SendClientMessage(playerid, COLOR_GREY, "[!]The player is in handcuffs or his hands are not in the air."); SendClientMessage(playerid, COLOR_GREEN, "____________________________"); format(string, sizeof(string), "*** %s adlэ kiюinin ьzerindekiler ***", RPN(playerb)); SendClientMessage(playerid, COLOR_ORANGE, string); format(string, sizeof(string), " Money ($%d)", PlayerInfo[playerb][pMoney]); SendClientMessage(playerid, COLOR_WHITE, string); if(PlayerInfo[playerb][pWeed]) {format(string, sizeof(string), " Weed (%d)", PlayerInfo[playerb][pWeed]); SendClientMessage(playerid, COLOR_WHITE, string);} if(PlayerInfo[playerb][pcocaine]) {format(string, sizeof(string), " Cocaine(%d)", PlayerInfo[playerb][pcocaine]); SendClientMessage(playerid, COLOR_WHITE, string);} format(string, sizeof(string), "*** %s adlэ kiюinin silahlarэ ***", RPN(playerb)); SendClientMessage(playerid, COLOR_ORANGE, string); for(new i=0; i<13; i++) { GetPlayerWeaponData(playerb, i, weapons[i][0], weapons[i][1]); if(weapons[i][0] != PlayerInfo[playerb][pWeapon][i] && weapons[i][1] != 0) { format(string, sizeof(string), " %s (Bullet: %d) (Hacked)", RWN(weapons[i][0]), weapons[i][1]); SendClientMessage(playerid, COLOR_MEDIC, string); weaps++; } else if(weapons[i][0] == PlayerInfo[playerb][pWeapon][i] && weapons[i][0] != 0) { format(string, sizeof(string), " %s (Bullet: %d)", RWN(PlayerInfo[playerb][pWeapon][i]), weapons[i][1]); SendClientMessage(playerid, COLOR_MEDIC, string); weaps++; } } if(weaps == 0) return SendClientMessage(playerid, COLOR_MEDIC, "None"); format(string, sizeof(string), "* %s ellerini %s adlэ kiюi ьzerinde gezdirmeye baюlar.", RPN(playerid), RPN(playerb)); SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE); return 1; }