[Question]format(...)
#1

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
Reply


Messages In This Thread
[Question]format(...) - by DRIFT_HUNTER - 14.11.2010, 01:50
Re: [Question]format(...) - by willsuckformoney - 14.11.2010, 02:27
Re: [Question]format(...) - by Retardedwolf - 14.11.2010, 02:29
Re: [Question]format(...) - by DRIFT_HUNTER - 14.11.2010, 02:32

Forum Jump:


Users browsing this thread: 1 Guest(s)