Search Results
Quote:
Originally Posted by Equality
I didnt actually get what you tryed to say in here.
Why my code ignoring tags?
ive tryed that, the verb still not getting formated by the file.
b...
154
Quote:
Originally Posted by ******
INI_ParseFile takes a string format, not a function directly, so you don't need the "using inline" part in this case. Also, currently your code entirely...
154
Quote:
Originally Posted by NoDi522
{
new str[126],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name)); // I changed this with ( ) . I dont know if that is mistake but you mis...
154
hey, why it aint work?
http://pastebin.com/M29v6GV6
154
Quote:
Originally Posted by CuervO
Hexes are not a string, and that would be returning the color as a string.
See y_colors for more info
already read that, but i couldnt make such stoc...
101
hey someone here got a stock for making a pawn hex color to html color?
exmple:
0x2B7997FF > 2B7997
0xA6921CFF > A6921C
0xE8D671FF > E8D671
101
Quote:
Originally Posted by Jefff
pawn Код:
new File:fh = fopen("text.txt",io_read);new Found;while(fread(fh, str))Â Â if(strfind(str,"2",true) != -1)Â Â {Â Â Â Â Found = 1;Â ...
132
look i have few strings, and it still dosent find them.
those strings:
ARTPEPEPEPE
ARTTTTTTTT
ARPEERERERR
i want it to recognize the second.
but it wont.
help?
132
Quote:
Originally Posted by Jefff
fread(fh, str); reads only 1\r\n - one line
pawn Код:
new File:fh = fopen("text.txt",io_read);Â Â new line;Â Â while(fread(fh, str))Â Â {Â Â ...
132
hey. i just worte string into file and i tryed to look for some string in the file with strfind.
and it dosent found that.
pb:
http://pastebin.com/RQ697SMN
it fails to find "2" in the string. but its ...
132
Quote:
Originally Posted by Leon9741
Strfind:
pawn Код:
if(strfind("Are you in here?", "you", true) != -1) //returns 4, because the start of 'you' (y) is at index 4 in the string{Â Â...
223
Quote:
Originally Posted by DaniceMcHarley
Use strfind.
EXMPLE PLEASE -_-
223
Quote:
Originally Posted by mahardika
use Color embedding ( {RRGGBB} color ),
like
Код:
"Hello my name is {FF0000}jackey{FFFFFF} and im from Island."
or
Код:
#define COLOR_RED_EMB...
223
hello.
i need help about somthing in the public OnPlayerText,
i want to set color on specific word when a player write that.
exmple:
if the player will write the sentence:
"Hello my name is jackey and...
223
Quote:
Originally Posted by Faisal_khan
Like this:
pawn Код:
mysql_query("SELECT `Money` FROM `accounts` WHERE `username` = '%s'", pInfo[playerid][pName]);//fetching the datamysql_store...
161
Quote:
Originally Posted by Faisal_khan
Well you will have to create a callback:
pawn Код:
forward LoadAccount(playerid);public LoadAccount(playerid){Â Â Â new row, field, money;Â Â...
161
Quote:
Originally Posted by Faisal_khan
You are doing it wrong. What are you fetching from here?:
pawn Код:
format(str,sizeof(str),"SELECT * FROM accounts WHERE username='%s'",pInfo[pla...
161
Quote:
Originally Posted by Faisal_khan
What do you exactly mean?
i mean, if i'll try to get money from mysql
like that exmple:
format(str,sizeof(str),"SELECT * FROM accounts WHERE user...
161
hello. how can i retive data in mysql from column without callback?
thanks
161