19.07.2010, 16:13
Hello,
My question is simple: How to remove the '_' in Firstname_Lastname? This is my code
I also searched, and found this topic. but didn't work.
Regards, Jochem
My question is simple: How to remove the '_' in Firstname_Lastname? This is my code
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
new Float:PosX, Float:PosY, Float:PosZ,string[99],Playername[MAX_PLAYER_NAME];
GetPlayerPos(playerid,PosX,PosY,PosZ);
if(IsPlayerInRangeOfPoint(i,10,PosX,PosY,PosZ))
{
GetPlayerName(playerid,Playername,sizeof(Playername));
SendClientMessage(i,COLOR_WHITE,string);
format(string,sizeof(string),"Says: %s",text);
SetPlayerChatBubble(playerid,string,COLOR_WHITE,10,5000);
}
}
}
Regards, Jochem