Ok i used
pawn Код:
format(gang_name, sizeof(gang_name), "%s.gang", gang_name);
example i input TEST it will format it to TEST.gang
What i need now is to get rid of that .gang in SendClientMessage
pawn Код:
format(string, sizeof(string), "You have created gang %s ", gang_name);
SendClientMessage(playerid, 0x00FF00AA, string);
These will send:
You have create gang TEST.gang
I need get rid of .gang
Any way to do it?

And dont say FIRST SEND MESSAGE THEN format it

take .gang out of the format line?

strdel? (8char)

Originally Posted by willsuckformoney
Посмотреть сообщение
take .gang out of the format line?
Yes .

Forum Jump:

Users browsing this thread: 1 Guest(s)