[Ajuda] Erro Script
#2

vocк sу pode usar cmdtext na:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
iria ficar assim:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/pegargasolina", true) == 0)
    {
        AttachObjectToPlayer( 1650, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
[Ajuda] Erro Script - by KinX - 03.12.2011, 02:19
Re: [Ajuda] Erro Script - by Cristhian - 03.12.2011, 02:24
Re: [Ajuda] Erro Script - by KinX - 03.12.2011, 02:26
Re: [Ajuda] Erro Script - by KinX - 03.12.2011, 02:31
Re: [Ajuda] Erro Script - by KinX - 03.12.2011, 02:40
Re: [Ajuda] Erro Script - by Cristhian - 03.12.2011, 02:41
Re: [Ajuda] Erro Script - by KinX - 03.12.2011, 02:51
Re: [Ajuda] Erro Script - by Cristhian - 03.12.2011, 02:56
Re: [Ajuda] Erro Script - by KinX - 03.12.2011, 02:58

Forum Jump:


Users browsing this thread: 2 Guest(s)