inputtext and and 1 error...
#2

pawn Код:
if(dialogid == 15) //
{
    if(!response) SendClientMessage(playerid, 0xFFFFFFFF, "You canceled!");
    new message[128];
    format(message, sizeof(message), "You get: %s", inputtext); // say what you tiped
    SendClientMessage(playerid, 0xFFFFFFFF, message);// send
    new value = strval(inputtext);
    SetPlayerSkin(playerid,value-48);// -48 cuz value i typer are 48 to high
    PlayerInfo[playerid][Clothes]=value-48; // same
    GivePlayerMoney(playerid,value-48);// same

    return 1;
}
Reply


Messages In This Thread
inputtext and and 1 error... - by Splinter - 05.06.2010, 10:37
Re: inputtext and and 1 error... - by MadeMan - 05.06.2010, 10:46
Re: inputtext and and 1 error... - by Splinter - 05.06.2010, 12:09

Forum Jump:


Users browsing this thread: 1 Guest(s)