20.11.2018, 00:57
I got this warning here:
The problem is here:
Quote:
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; }