06.10.2011, 18:46
pawn Код:
if(strcmp(cmd, "/cancelarcontrato",true) == 0)
{
if(PlayerInfo[playerid][pMember] != 8 || PlayerInfo[playerid][pLeader] != 8) return SendClientMessage(playerid,-1,"Voce nao e Hitman");
new giveplayerid;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "Uso Correto: /CancelarContrato [playerid]");
giveplayerid = strval(tmp);
PlayerInfo[giveplayerid][pHeadValue] = 0;
return 1;
}