02.05.2012, 17:08
ae vini born deu um erro so e estб assim
code:
if(PlayerToPoint(2.0, playerid,-2237.1111,130.5856,1035.4141))
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_INPUT, "Maconha", "Comprar maconha", "Confirma", "Cancela");
if(strval(inputtext) > 20) <-- Erro nessa linha.
return SendClientMessage(playerid, -1, "A quantidade mбxima й 20");
}
Erro:
C:\Documents and Settings\Famнlia\Desktop\claronevivo\Mega Life 3.1\gamemodes\MegaLife.pwn(45243) : error 017: undefined symbol "inputtext"
code:
if(PlayerToPoint(2.0, playerid,-2237.1111,130.5856,1035.4141))
{
Controle(playerid, 0);
ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_INPUT, "Maconha", "Comprar maconha", "Confirma", "Cancela");
if(strval(inputtext) > 20) <-- Erro nessa linha.
return SendClientMessage(playerid, -1, "A quantidade mбxima й 20");
}
Erro:
C:\Documents and Settings\Famнlia\Desktop\claronevivo\Mega Life 3.1\gamemodes\MegaLife.pwn(45243) : error 017: undefined symbol "inputtext"