[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
#2

take .gang out of the format line?
Reply
#3

strdel? (8char)
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)