19.06.2011, 03:17
pawn Код:
if (strcmp(cmdtext, "/comando", true) == 0)
{
if(!IsPlayerInRangeOfPoint(playerid, 7.0, 2195.8303222656,-1108.3533935547,25.130044937134))
return SendClientMessage(playerid,0xAC0B27FF,"Vocк nгo estб no local correto!");
tmp = strtok(cmdtext,Index);
new n = strval(tmp);
if(!strlen(tmp) || (n < 1 && n > 3))
return SendClientMessage(playerid,COLOR_GREY,"-OperServ- Uso: /comando [1/3]");
if(type == 1)
return SendClientMessage(playerid,0xAC0B27FF,"Vocк escolheu o comando 1");
if(type == 2)
return SendClientMessage(playerid,0xAC0B27FF,"Vocк escolheu o comando 2!");
if(type == 3)
return SendClientMessage(playerid,0xAC0B27FF,"Vocк escolheu o comando 3");
return 1;
}