[solucionado]Problemon con onplayercommandtext
#2

Mira para que sepas que es.. Es que no tienes esto

"cmd = strtok(cmdtext, idx);".. Tienes que ponerlo debajo de

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new string[256];
    new playermoney;
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new cmd[256];
    new giveplayerid, moneys, idx;
Quedaria
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new string[256];
    new playermoney;
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new cmd[256];
    new giveplayerid, moneys, idx;
    cmd = strtok(cmdtext, idx);
Reply


Messages In This Thread
[solucionado]Problemon con onplayercommandtext - by xenowort - 25.01.2010, 23:26
Re: Problemon con onplayercommandtext - by elvago - 26.01.2010, 01:20
Re: Problemon con onplayercommandtext - by xenowort - 26.01.2010, 13:09
Re: [solucionado]Problemon con onplayercommandtext - by elvago - 27.01.2010, 02:17
Re: [solucionado]Problemon con onplayercommandtext - by CristianTdj - 27.01.2010, 13:30
Re: [solucionado]Problemon con onplayercommandtext - by Zamaroht - 27.01.2010, 18:13

Forum Jump:


Users browsing this thread: 1 Guest(s)