25.01.2015, 18:30
hi everybody !
first, I'm working at a RP Gamemode, So in rp mode, player must have a nick like "samp_samp".
when player chat, chat will be send like "samp_samp(ID): message".
i don't know how delete "_" between player name ("samp samp(ID): message")
this is my stock, i'm using it for Playername so i don't add GetPlayerName and ... in all script !
first, I'm working at a RP Gamemode, So in rp mode, player must have a nick like "samp_samp".
when player chat, chat will be send like "samp_samp(ID): message".
i don't know how delete "_" between player name ("samp samp(ID): message")
this is my stock, i'm using it for Playername so i don't add GetPlayerName and ... in all script !
pawn Код:
stock PlayerName(playerid) {
new name[255];
GetPlayerName(playerid, name, 255);
return name;
}