[DUV]3 ajudas por favor
#7

pawn Код:
if(!strcmp(cmd, "/irpos", true))
    {
      new tmp[MAX_psf_strtok];
        tmp = psf_strtok(cmdtext, idx);
        if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_RED, "/irpos [X] [Y] [Z]");
        new Float:x = floatstr(tmp);
        tmp = psf_strtok(cmdtext, idx);
        if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_RED, "/irpos [X] [Y] [Z]");
        new Float:y = floatstr(tmp);
        tmp = psf_strtok(cmdtext, idx);
        if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_RED, "/irpos [X] [Y] [Z]");
        new Float:z = floatstr(tmp);
        SetPlayerPos(playerid, x, y, z);
        format(tmp, sizeof(tmp), "%s teleportado а posiзгo X %f, Y %f, Z %f!", PlayerName(playerid), x, y, z);
        return SendClientMessage(playerid, COLOR_GREEN, tmp);
    }
O negуcio de fix eu nem sei como tu quer, nгo manjo de 'GF'.
Se der erro aн baixa o include PSF...

Flws.
Reply


Messages In This Thread
[DUV]3 ajudas por favor - by pbrugnago - 03.02.2010, 23:40
Re: [DUV]3 ajudas por favor - by Guilherme_Canani - 04.02.2010, 03:41
Re: [DUV]3 ajudas por favor - by pbrugnago - 04.02.2010, 13:00
Re: [DUV]3 ajudas por favor - by Guilherme_Canani - 04.02.2010, 14:44
Re: [DUV]3 ajudas por favor - by Marco[PT] - 04.02.2010, 15:08
Re: [DUV]3 ajudas por favor - by pbrugnago - 04.02.2010, 15:25
Re: [DUV]3 ajudas por favor - by [VGS]Protioso - 04.02.2010, 16:44
Re: [DUV]3 ajudas por favor - by pbrugnago - 04.02.2010, 17:07
Re: [DUV]3 ajudas por favor - by [VGS]Protioso - 04.02.2010, 17:10
Re: [DUV]3 ajudas por favor - by pbrugnago - 04.02.2010, 20:39

Forum Jump:


Users browsing this thread: 1 Guest(s)