Search Results
It's still not ideal for what he's trying to do. Why not have a single query that would return everything he needs?
319
Don't use dini...it's outdated, unsupported, and one of the slowest methods available. SQL would be ideal for what you are trying to do. Try using SQLite (a_sampdb.inc) @ATGOggy: It takes time to lea...
319
Thank you for posting this. It really irks me that people write code when they don't really know what it does.
10,885
If you have only one timer (execution time is obviously exaggerated): Код: Player sync Timer called (exec time = 5 seconds) Timer ends > players go without sync for 5 seconds Player sync If you...
408
https://sampforum.blast.hk/showthread.php?tid=315531 I think the first line sums it up.
202
https://sampforum.blast.hk/showthread.php?tid=61322 Missed this thread somehow.
408
@dominik523: Your code is practically identical. You are just using foreach and different variable names. This is your problem: pawn Код: if(IsPlayerConnected(i)) continue; You are stepping over ...
271
You could use SetPlayerArmedWeapon() when the player is entering a vehicle and check if it changes from that while in the vehicle.
170
Use a single global timer. You'll be calling the same amount of code whether or not it's in a single timer or per-player timers (except for a loop (use foreach)).
408
https://sampforum.blast.hk/showthread.php?tid=506214
124
https://sampwiki.blast.hk/wiki/NPC:Main_Page https://sampforum.blast.hk/showthread.php?tid=355372
244
Courage the Cowardly Dog Ed, Edd, and Eddy Johnny Bravo Teen Titans Grim Adventures of Billy and Mandy Powerpuff Girls Samurai Jack Dexter's Labratory So many good ones I cannot even remember. Those ...
324
We should have a thread everyday recapping what happened regarding SA:MP!!!
272
This is most likely your problem: pawn Код: if(BizzInfo[PlayerInfo[playerid][InBusiness]][bType] == 8 || IsPlayerNearBank(playerid)) IsPlayerNearBank(playerid) is only checking if the value retur...
212
https://sampwiki.blast.hk/wiki/Control_Structures#Loops
192
Quote: Originally Posted by CutX i forgot the return for the cmd at the end :P pawn Код: CMD:cc(playerid,params[]){    if (APlayerData[playerid][LoggedIn] == true)    {        ...
287
Show, 1) IsPlayerNearBank function 2) Any data associated with bank locations 3) Where you load the bank locations
212
Quote: Originally Posted by xVIP3Rx So you say that the end user is able to get the global "New"s in samp ? Or you mean for other programs ? Lets say you create a library that runs on a...
2,168
Quote: Originally Posted by xVIP3Rx You say that we should use static globally because its created once until the server is closed ? But Isn't that the same as "New" ? For global variab...
2,168
Nice, just a few things I'd like to point out: 1) For your example under "cells", you only need 61. 30 + 24 + 6 + 1. Though I don't think 9 cells has ever killed anyone. 2) Global variables (static ...
2,168