RP name help
#5

Quote:
Originally Posted by JustNothing
Посмотреть сообщение
How you used it? Because I just tested it and for me it works...
In a SendClientMessage when the player joins.
i even added a client message in the stock so i know if the condition is working or not, and it does send the message, but it just return null
PHP код:
stock RPname(playerid) {
    new 
playerName[MAX_PLAYER_NAME];
    
GetPlayerName(playeridplayerNameMAX_PLAYER_NAME);
    for(new 
cstrlen(playerName); c++) { 
        if(
playerName[c] == '_') {
            
playerName[c] = ' ';         
            
SendClientMessage(playeridMessage"Condition is true");
        }
    }
    return 
playerName;

Reply


Messages In This Thread
RP name help - by Arbico - 10.11.2017, 16:08
Re: RP name help - by JustNothing - 10.11.2017, 16:21
Re: RP name help - by Arbico - 10.11.2017, 16:34
Re: RP name help - by JustNothing - 10.11.2017, 16:48
Re: RP name help - by Arbico - 10.11.2017, 16:53
Re: RP name help - by Arbico - 10.11.2017, 17:13
Re: RP name help - by Arbico - 10.11.2017, 17:25
Re: RP name help - by PeterLinkson - 10.11.2017, 17:27
Re: RP name help - by Arbico - 10.11.2017, 17:31
Re: RP name help - by n00blek - 10.11.2017, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)