03.12.2011, 02:24
vocк sу pode usar cmdtext na:
iria ficar assim:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
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;
}