Search Results
You have to check if slot 0 is occupied if so then continue to slot 1 and continue like that
154
Try new WeedPlants[MAX_PLAYERS][10];
154
Its really great!
I think i will find a good use for this on my server!
Rep
781
Isnt the ackslimit the amount of pockets the user sends?
145
A know but what is some normal range?
2000-4000?
145
PHP код:
enum friendsEnum{
bool: online,
imePrijatelja[25], //Friend name
serverid,
dbid
}
new Friends[MAX_PLAYERS][MAX_FRIENDS][friendsEnum];
That f...
122
I get a proble when I connect to the server, after the login, i get stuck on the class selection (this didnt happen until i made a function)
PHP код:
stock setUpFriendVars(playerid){
...
122
Yeah the [2000][2000] was just for the test version and to see how pawn will react to 2000*2000
Il try to come up with something with that method
Thanks
177
Yeah, I know but I can think of any other way to do this
Anyways...
Im using a MySQL saving system and naturally all users have their ID in the database
Now with this array, I can do Friends[ID OF USE...
177
I have a problem with arrays...
I have a really big array new Friends[2000][2000][friendsEnum];
But when i put it like this, It takes WAAAAY to long to compile and I end up with a 126MB file (WAAY HU...
177
Thanks guys for the response!
753
@Sasquatch , doesn't work either...
Tried with #define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
But again it wont detect any keys when SelectTextDraw ...
753
@Kwarde , I'ts not registering it now at all
f((!newkeys & KEY_YES) && (oldkeys & KEY_YES))
753
Could you try:
PHP код:
stock LoadPlayerData(playerid)
{
if(!IsPlayerConnected(playerid)) return 1;
new Query[200];
mysql_format(DB, Query, sizeof(Query), "SELEC...
142
Okay I have a function that toggles the cursor when the Y is pressed
It works well when i want to activate the cursor but when i want to disable it (when SelectTextDraw is active) its not registering ...
753
Is there still support for this -> http://forum.sa-mp.com/showthread.ph...ghlight=Samphp
Or is there another way of using php in samp
Also if i would be using some includes like zcmd or yhooks, how...
51