Search Results
Quote:
Originally Posted by Blade_Cervetti
Look if you want help, then take some advice when it's given. If not, then don't ask for help.
Well when you are figting with me about somethi...
129
Well you can try it, IÒ‘m doing it always.
Код:
sizeof string
is equal to
Код:
sizeof(string)
129
It is the same dude, also you miss )
129
Quote:
Originally Posted by Blade_Cervetti
That is saying that your missing a ] in one place and the ; in the other. Is there anyway that you could paste the line numbers from the errors a...
129
Hello, i need help with this:
Код:
stock FileWriteString(key[], value[])
{
if(strlen(key) > MAX_FILE_KEY_LENGHT || strlen(value) >= MAX_FILE_VALUE_LENGHT)
return -1;
strcat(FileInfo[F...
129
Quote:
Originally Posted by Dutheil
Don't put space.
pawn Код:
#define printff(%0,%1)
Oh, poor mistake indeed. Thank you very much.
77
Hello guys, could you tell me where do i have an error? IÒ‘ve spent 2 hours on it and I just dont know what to do ;(
Код:
stock printfEx(message[])
{
new Year, Month, Day, Hour, Minute, Second;
...
77
My version of strDel
pawn Code:
strDel(string[],...){  new     num = numargs();    for(new i=1;i<num;i++)  {    // GetString    new str[25],a,b;   Â...
71,021
pawn Код:
SetWorldTime(strval(inputtext));
63
Y_Less, i know, i don't know how to fix
it prints:
2123804658
fixed (uknown format)
pawn Код:
#define isNull(%0) \Â Â Â Â Â Â Â Â Â Â (%0[0] == 0 || (%0[0] == 1 && %0[1] == 0...
71,021
I made my own version of sscanf aka 'UnParams'.
It's slow
It's only test of my practice
pawn Код:
#define isNull(%0) \Â Â Â Â Â Â Â Â Â Â (%0[0] == 0 || (%0[0] == 1 && %0[1] ...
71,021
&& is fastes.With loop 1 000 000 as 200ms ...
143
Use this: https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
183
For easiest use:
pawn Код:
#define GivePlayerScore(%0,%1) SetPlayerScore(%0,GetPlayerScore(%0)+%1)
Usage:
pawn Код:
if(playerid != killerid) GivePlayerScore(killerid,1),GivePlayerScore(play...
90
Hello,
i need answer, what does a charater array??
I tested it:
pawn Код:
new x[1];x{0} = 0;x{1} = 1;x{2} = 2;printf("%d",x);
It printed me number 66048
What is this? How it works?
Thx for a...
79
pawn Код:
SendClientMessageEx(playerid, color, string[]){Â Â if(InsideMainMenu[playerid] == 1 || InsideTut[playerid] == 1 || ActiveChatbox[playerid] == 0)Â Â Â Â return 0;Â Â else SendClie...
76
I want this::
pawn Код:
format(...,"Var1: %s",XY(Var1));
etc.
96