27.07.2013, 22:19
Код:
CMD:takedrugs(playerid, params[]) {new giveplayerid; if(sscanf(params, "u", giveplayerid) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /takedrugs [playerid]"); PlayerInfo[giveplayerid][pHasDrugs] = 0; SendClientMessage(playerid, COLOR_WHITE, "You have taken the person's drugs."); SendClientMessage(giveplayerid, COLOR_WHITE, "Your drugs were taken."); return 1;}