01.03.2014, 15:30
(
Last edited by Clad; 18/07/2014 at 09:21 AM.
)
Solved.
if (!strcmp("3", tmp, true))
{
if(Logged[playerid] == 1) {
if(GetPlayerEcard(playerid) < 3) return SendClientMessage(playerid,c_r,"[ ! ] You lack the items required !");
GivePlayerSmedal(playerid,1);
GivePlayerEcard(playerid,-3);
SendClientMessage(playerid,COLOR_GREEN,"[ ! ] You have gotten 1 Silver medal !");
return 1;
}
}