Repost: RP Name help
#1

Note: I posted this before, but people seem to stop replying, and i still need help
Hello guys, i made this function to return the player name without the "_" but it returns nothing at all

Here's the code
PHP код:
stock RPname(playerid) { 
    new 
playerName[MAX_PLAYER_NAME]; 
    
GetPlayerName(playeridplayerNamesizeof(playerName)); 
    new 
RName[MAX_PLAYER_NAME]; 
    for(new 
0strlen(Name(playerid)); i++) { 
        if(!
strcmp(playerName[i], "_"true)) { 
            
strins(RName" "strlen(RName)); 
        } 
        else { 
            
strcat(RNameplayerName[i], strlen(RName)); 
        } 
    } 
    return 
RName

What's wrong here?
Reply


Messages In This Thread
Repost: RP Name help - by Arbico - 10.11.2017, 17:44
Re: Repost: RP Name help - by Meller - 10.11.2017, 18:14
Re: Repost: RP Name help - by Arbico - 10.11.2017, 19:17
Re: Repost: RP Name help - by Thomas Dallos - 10.11.2017, 19:22
Re: Repost: RP Name help - by Meller - 10.11.2017, 19:40
Re: Repost: RP Name help - by Lucases - 10.11.2017, 19:40
Re: Repost: RP Name help - by n00blek - 10.11.2017, 19:41
Re: Repost: RP Name help - by Meller - 10.11.2017, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)