[AJUDA]Define
#2

Exemplo:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new wiiStr[256];

    //comandos
    if(!strcmp(cmdtext,"/exemplo",true))
    {
        format(wiiStr,24,"%s",pNome); // vai pegar o nome do player :D
        return 1;
    }
    return 0;
}

stock pNome(playerid) //Stock para getar o nome...
{
    new
        wiiN[MAX_PLAYER_NAME]
    ;

    GetPlayerName(playerid, wiiN, sizeof( wiiN ));
    return wiiN;
}
Reply


Messages In This Thread
[AJUDA]Define - by .CrazZy._.[De] - 14.10.2011, 15:24
Re: [AJUDA]Define - by WLSF - 14.10.2011, 15:27
Re: [AJUDA]Define - by .CrazZy._.[De] - 14.10.2011, 15:51
Re: [AJUDA]Define - by TiagoPS - 14.10.2011, 15:54
Re: [AJUDA]Define - by Lуs - 14.10.2011, 15:54
Re: [AJUDA]Define - by WLSF - 14.10.2011, 15:55

Forum Jump:


Users browsing this thread: 3 Guest(s)