[Ajuda] Hб algo errado ?
#6

pawn Код:
new cmd[50 char], params[100 char];// no inicio da public commandtext
    unformat(cmdtext, "s[50]S( )[100]",cmd,params);//no inicio da public commandtext
pawn Код:
if(strcmp(cmd, "/irpara", true) == 0)
    {
        if(PlayerInfo[playerid][pAdmin] == 5000)
        {
            new Float:pos[3];
            if(sscanf(params, "fff", pos[0], pos[1], pos[2]) return SendClientMessage(playerid, -1, "USO: /irpara [X] [Y] [Z]");
            SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
        }
        return 1;
    }
Reply


Messages In This Thread
[Ajuda] Hб algo errado ? - by Xpectro - 29.11.2011, 23:14
Re : [Ajuda] Hб algo errado ? - by GabrielDias_Invision - 29.11.2011, 23:19
Re: [Ajuda] Hб algo errado ? - by ViniBorn - 29.11.2011, 23:21
Re: Re : [Ajuda] Hб algo errado ? - by Xpectro - 29.11.2011, 23:34
Re: [Ajuda] Hб algo errado ? - by ViniBorn - 29.11.2011, 23:41
Re: [Ajuda] Hб algo errado ? - by Cristhian - 29.11.2011, 23:44
Re: [Ajuda] Hб algo errado ? - by Xpectro - 29.11.2011, 23:48
Re: [Ajuda] Hб algo errado ? - by Cristhian - 29.11.2011, 23:49
Re: [Ajuda] Hб algo errado ? - by ViniBorn - 29.11.2011, 23:51
Re: [Ajuda] Hб algo errado ? - by Xpectro - 30.11.2011, 00:12

Forum Jump:


Users browsing this thread: 2 Guest(s)