% in game
#1

Hey guys. I don't like this bug :P

If i type in-game % , it send me : ?

Is there any way to make it ?
Reply
#2

thats not a bug, thats normal
Reply
#3

lol , this isn't normal ... or this musn't be normal ;|
Reply
#4

i've tryed this under OnPlayerText , but no way

pawn Код:
for (new i = 0, j = strlen(text); i < j; i++)
        if(strfind(text[i],"%",true) != -1) text[i] = '‰';
Reply
#5

Im sure you cannot send the % symbol to clients chat. You can use %% in some textdraws to make a % though
Reply
#6

I read somewhere that it is not allowed because players could mess up existing placeholders in functions such as format(...).

"ledzep: %d lulz eat my placeholders %f-%f-%f*** you"
Reply
#7

ok , but if i want to change the " ? " to "‰" ?
Reply
#8

Type "Percent"?
Reply
#9

eh ... + 1
Reply
#10

Quote:
Originally Posted by Master2k8
I would class this as a bug.
Read again:
Quote:
Originally Posted by ledzep
I read somewhere that it is not allowed because players could mess up existing placeholders in functions such as format(...).

"ledzep: %d lulz eat my placeholders %f-%f-%f*** you"
The '%' symbol was removed to prevent exploits with format strings in pawn.
________
Medical marijuana dispensary
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)