/setprof
#2

pawn Код:
if(strcmp(cmd, "/setprof", true) == 0)
    {
        new valordaprof;
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp)) return SendClientMessage(playerid, BRANCO, "(AJUDA) /setprof [playerid] [profid]");
        giveplayerid = strval(tmp);
        tmp = strtok(cmdtext, idx);
        if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, VERMELHO, "(ERROR) Jogador nгo conectado");
        if(!strlen(tmp)) return SendClientMessage(playerid, BRANCO, "(AJUDA) /setprof [playerid] [profid]");
        valordaprof = strval(tmp);
        gTeam[giveplayerid] = valordaprof;
        return 1;
    }
Reply


Messages In This Thread
/setprof - by JOKERBOY - 06.05.2011, 03:20
Re: /setprof - by Josma_cmd - 06.05.2011, 03:26

Forum Jump:


Users browsing this thread: 1 Guest(s)