Search Results
Quote:
Originally Posted by SaiyanZ
Thanks and also i'll try that out, i wanted to ask another thing, how can i run a loop like backwards like i tried using
PHP Code:
for(new i =0; ...
244
I presume your web server is hosted. You could ask the support team of the host company. Or may be the .htaccess, that redirects, is located in the directory where public_html is or may be your web se...
988
It should not be doing that. I tested and confirmed it worked.
Can you please show the contents of the .htaccess.
may be the snippet isn't even executed because its redirected before.
In .htaccess the...
988
Quote:
Originally Posted by qRazor
Can you give me an example how I could do that at my link?
1. MAKE BACKUP of your current .htaccess file
2. find where the request is redirected to ht...
988
Quote:
Originally Posted by Y_Less
If they include a body, that's up to them, but it isn't required and will be in the headers. The headers are the standardised method that computers use, ...
988
Quote:
Originally Posted by justinnater
Did a test, this is what comes out of it. It's what Y_Less said, follow the redirect.
How would you follow that link?
I did a test too and this ...
988
simply change
pawn Код:
if(i % 4 == 0) // If 'i' is a multiple of 4
to
pawn Код:
if(i % 4 == 0 && i != 0) // If 'i' is a multiple of 4 and 'i' is not 0
555
You could probably use this in a timer or in OnPlayerUpdate. To get the number of spawns you could use sizeof and then in a for loop you could check each point with IsPlayerInRangeOfPoint.
358
Quote:
Originally Posted by Lirbo
Your problem is here:
PHP Code:
format(query, sizeof(query), "SELECT * FROM `users` WHERE `Clanid` = '%d' ORDER BY `ClanRank` DESC LIMIT...
283
Quote:
Originally Posted by Y_Less
Or, as I said, just follow the redirect!
But the only data you are given back is an html document in which there is an anchor with the new location. T...
988
First of all please use the [CODE] tags around your code and second: the snipped you posted only shows a dialog to a player. As you wrote you'll have to provide the snippet where the rank is being set...
283
Quote:
Originally Posted by qRazor
I have SSL certificate to the web.
I think this is your problem. Because the HTTP function in samp doesn't follow redirects and you probably redirect ...
988
For plugins windows uses .dll and linux uses .so.
The plugin you are searching for is SAMPSON by Hual: https://github.com/Hual/SAMPSON/releases
The forum thread: https://sampforum.blast.hk/showthread....
167
It is possible for sure.
This should work:
pawn Code:
BasicPlayerChecks(playerid, targetid) { if(!IsPlayerConnected(targetid)) return 1; if(targetid == playerid) return 2; if(targetid...
269
You probably will have the player's email stored(probably when they log in) in an enum in the script.
Then you would make a POST request to an endpoint to the PHP script, in that request you would als...
367
Code:
..... VALUES ('%e', '%e', '%e', '%e', 0,'%d')", name[playerid], ......
That in the red is your problem. You are accessing the array from a given index, in this case: player's id, which is zero....
209
This can be useful for a simple post request: https://sampwiki.blast.hk/wiki/HTTP
For the endpoint you can simply use this: http://php.net/manual/en/function.mail.php
367
I believe the compiler crashes why don't you try with Zeex's compiler: https://github.com/pawn-lang/compiler/releases
I have attached my test with 40 arrays of player text and it compiles. Try to chan...
570
Sorry about the double click thing. It only works when a table has a primary key.
293