Search Results
Write your onplayerconnect part where the mysql query is called
95
Are you using this one? https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_query
121
Put the code where you are adding kills to the teams
71
You can check for skin id, for example. How do you define that a player is a medic? (How do they choose to be medic)
205
Quote: Originally Posted by [XST]O_x This doesn't make any sense. I ran the same tests and got 442 units. How the hell did you run 19.85 units in a MINUTE? From here: 2909.9324,-1202.36...
6,141
I made a quick test with human speed. I run for one minute, with running animation, so constant speed that I assume it's 10kph (Normal human running speed). After finishing, the distance run was 19.85...
6,141
Quote: Originally Posted by Suxi How to do this on linux? pawn Код: new file2[256];format(file2, 256, "pawno/pawncc.exe scriptfiles/%s.pwn",rec_name[p_rec_id[playerid]]), exec(file2); ...
3,416
Hi, I'm having problems when hooking OnPlayerSelectDynamicObject, it's not being called since the new version. Please advise. EDIT: I see that the whole callback section has been removed... EDIT2: B...
93,973
Works like a charm with Python scripts
3,416
It happened to me. It was due to having 0.3z-R2. I installed 0.3z-R3 and all works like a charm now
295
You can't do that. You can only do with SetPlayerAttachedObject
58
Ok, the problem is that you have to escape the '%' symbol. For that, put a \% mysql_format(mysql,query,sizeof(query),"SELECT DATE_FORMAT(LastActivity,'\%e/\%c/\%Y') FROM `users` WHERE `ID` = '%d'",Pl...
187
Quote: Originally Posted by ilay65 I did not understand what he said about the Log Do prints like this: print("public Destroy is starting..."); They will print lines of text in server....
294
Easy. amount = random(GetPlayerCash(giveplayerid)); while(amount >= 500000) { amount = random(GetPlayerCash(giveplayerid)); }
107
Quote: Originally Posted by ilay65 No working... What is this damn problem?! Why don't you do what he told you? Set the log updates and then paste the log here.
294
For making this you have to understand how YSI_ini works. Basically, you have to Load the INI file and create a function that 'reads' this file.
487
Quote: Originally Posted by tuuler I changed order, I dont understand what u mean by clearing data, my english is bad SandkingCP[playerid][1] = -1 SandkingCP[playerid][2] = -1 (After ...
216
Quote: Originally Posted by tuuler Now when I enter the third CP, it sets the checkpoint back to second CP, and when I enter second CP then it sets it back to third cp and continues to do ...
216