Search Results
Quote: Originally Posted by amirm3hdi NOT RECOMMENDED FOR LINUX AT ALL Most of the functions crash on linux while work perfectly on windows... The plugin is not supported on Debian Whe...
1,721
Quote: Originally Posted by Juvanii - You should use player name instead of player id in saving data for the player in mysql because player id's keep changing after the player disconnect t...
212
Quote: Originally Posted by woot It's been a while but I believe you can use INSERT IGNORE INTO and then check with mysql_affected_rows which should return 0 if it was not inserted. Swe...
212
Just a quickie, does anyone know a method to handle mysql errors correctly in SAMP in such a case the errors aren't logged (cluttering up the log file)? Example, 1. A key field is set to being disti...
212
This'll do; https://sampforum.blast.hk/showthread.php?tid=275492
104
Just mentioning these for now - for integer fields in SQL you can use cache_get_field_content_int, or if R40+; cache_get_value_index_int and likewise with floats: cache_get_field_content_float & ...
96
Assure you have the valid formats. Quote: url[] The url to play. Valid formats are mp3 and ogg/vorbis. A link to a .pls (playlist) file will play that playlist. Listed here; https...
110
Is your server on the hosted tab? It seems there's an active attacker doing a TCP SYN flood with hundreds of available addresses. I'd recommend temporarily changing the port to one that isn't on the h...
100
So OnPlayerSpawn you have shown the textdraw using ShowTextDrawForPlayer? Under OnPlayerDeath you hide it? Under OnPlayerDisconnect you hide it? OnGameModeInit you define it? i.e mytextdraw = ... myte...
112
Perhaps verifying if a connection came from a valid source or not, perhaps make it so the SA:MP client communicates initially with the server so the server knows what to do with TCP requests instead o...
15,445
Quote: Originally Posted by Vince This has nothing to do with Sumblime Text. You have declared a variable "i" in the global scope. Why? I don't know. It's your script. No this is a prob...
117
Quote: Originally Posted by SoFahim Hi iGetty, Aren't you from SARP's developer team? He is. OT: nice tutorial, though could it be a bit long for others to follow? Maybe a plan could ...
1,885
Quote: Originally Posted by Sreyas Same old repeated things and you didn't explain the tips too,only stated them. Yeah if I get some time to get around to it. It started of being a simp...
488
These concepts will help with other languages as well. SAMP has a bad history for many terrible scripts, mostly the first gamemodes till it was later introduced: organization and efficiency. This thr...
488
Quote: Originally Posted by Threshold Have you tried solving the warning instead? I don't see this being an issue with sublime. Just to test something, try typing something in pawno that ...
229
Try the following UPDATE houses AS h INNER JOIN players AS p ON p.Name = h.Owner SET h.Owner = 'The State', h.Owned = 0 WHERE NOW() >= DATE_ADD( p.LastLogin, INTERVAL 7 DAY );
130
https://sampwiki.blast.hk/wiki/MySQL/R33..._field_content cache_get_field_content, cache_get_field_content_int, cache_get_field_content_float, else cache_get_row ect.
111
Try SetObjectMaterialText, and assign the text to being just a space. https://sampwiki.blast.hk/wiki/SetObjectMaterialText
134
As Sew_Sumi said: read the tutorial, don't only copy and paste. Play around with the code. >> create the file after they have fully registered in simple.
159
Do you mind providing the entire function?
86