21.06.2011, 20:14
PHP код:
if(strcmp(cmd,"/convidar") == true) {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "convidar id");
new id = ReturnUser(tmp);
//Termine o comando
return 0x01;
}
if(strcmp(cmd,"/darlider") == true) {
tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, -1, "/darlider ID ORG");
new id = ReturnUser(tmp);
tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, -1, "/darlider ID ORG");
new org = strval(tmp);
//Termine o comando
return 0x01;
}
if(strcmp(cmd,"/membros") == true) {
for(new i = 0x0; i < MAX_PLAYERS; ++i) {
if(Org[i] == 1)
}
//Termine o comando
return 0x01;
}
if(strcmp(cmd,"/darcargo") == true) {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "/Darcargo id cargo");
new id = ReturnUser(tmp);
tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, -1, "/darcargo ID cargo");
new cargo = strval(tmp);
//Termine o comando
return 0x01;
}
FLW