Search Results
Erm. How to get the return value of a callback? For example here, my callback "LoadSQLVehicle" return the id of the created vehicle with CreateVehicle() or -1 if there was an error. So, how to I get ...
21,476
DL links are dead. Maybe your sever is having some issues. Do someone has a mirror for the pawn sample script?
446,839
Nevermind fixed, I was using a color which ended with 00 instead of FF (so it was invisible)
242
Sometimes when the value of a field is NULL, mysql_fetch_row crashes the server. I've tried it several times. I guess it is a bug.
88,112
Hi, I'm re-writing my 35k lines script to optimize it and all but I have a problem. To increase readability I've divided my GM in different includes. Here is the code at the very top of my GM: pawn ...
255
Quote: Originally Posted by Hiddos Hmm. Control panel > default programs > Search for .inc > "Change Program" > Browse for pawno.exe (If it doesn't displays in the list, click...
933
Hi, when I open a inc file (on windows 7) I can't choose pawno as default program, I have to open pawno first and then select the inc file. This is really annoying. It've been working perfectly for mo...
933
I wrote "you re-read", I meant "you should re-read", forgot a word sorry. I'll try to explai better: I have 2 computers, with the first one, everything works good, so this proves the issue comes from...
1,245
Quote: Originally Posted by playbox12 127.0.0.1 Is a your local host, no need to port forward, try to put your server on (make sure it says vehicle models loaded: "number" in the console) ...
1,245
I got a new PC, since then, my local server isn't accessible for other players. I have a static IP and forwarded my ports though. I'm on windows 7, any idea? I did everything I could: I tried to di...
1,245
Quote: Originally Posted by dice7 none of the defines in the first post work The first one works perfectly, I've tested it, but yes the second one is wrong as there is one parameter not...
1,595
I see lots of people making complex defines like pawn Код: #define SendFormat(%0,%1,%2,%3) do{new str[128];format(_str,128,%2,%3);SendClientMessage(%0,%1,_str);}while(FALSE) not to write pawn КÐ...
1,595
Hi, I'm opening my server today. I'be juste restarted it and it says that the server is full whereas it is empty. I"ve got more than 200 members that are trying to connect. There waiting form several ...
473
Well none of the way you or me posted works now --' I've made functions it works fine. Fuck it ><
681
pawn Код: if(IsReservedSkin(classid) GameTextForPlayer(playerid, "~r~Skin reserved", 1000, 6); Gives: error 001: expected token: ")", but found "-identifier-" Removing the brackets in defines wor...
681
A function isn't needed is this case, it's less quick than a define. Call a function is slow.
681
Hi! Well I have these defines: pawn Код: #define IsGangSkin(%0) ((%0 >= 102 && %0 <= 110) || (%0 >= 114 && %0 <= 116) || (%0 >= 173 && %0 <= 175) || (%0 ...
681