Search Results
pawn Код: format(query), sizeof(query)"SELECT  FROM accounts WHERE name = '%s'", pName); Missing , pawn Код: format(query), sizeof(query), "SELECT  FROM accounts WHERE name = '%s'", pName); ...
327
Quote: Originally Posted by CeSuX So I've made this little function, which was supposed to return a simplified name of the weatherID (https://sampwiki.blast.hk/wiki/WeatherID). PHP код...
147
Quote: Originally Posted by jlalt PHP код: new p_LastHealMe[MAX_PLAYERS]; // to save time in it  PHP код: CMD:healme(playerid, params[])  {     if(( getti...
244
Quote: Originally Posted by CrystalMethod Whenever I join my server under another name, it just overwrites the previous account in the database. Код: stock RegisterPlayer(playerid, reg...
109
Let's try to debug your function. It is pretty simple idea: just see, if you even enter sufficient branch of code: pawn Код: for( new i = 0; i != MAX_PLAYERS; i++ ){    if(IsPlayerConnected(i) ...
96
I believe it doesn't quite work that way. The best shot for you would be: pawn Код: if(!strcmp(Rank[i],"RANKNAME")){} however, IMO it is quite slow. I'd recommend reconsidering your rank system...
162
Try to print those queries and see what might be wrong with them.
121
Quote: Originally Posted by TheLegend1 hey guys, i got an question about knowing when someone is X points far from another one. What i mean by it. Okay so lets say two clans has started wa...
70
Quote: Originally Posted by amirm3hdi You mean even that code doesn't work? I mean your solution does not solve the problem in question. All your code does is just skip anything in the...
157
Quote: Originally Posted by karolissas This is my friend script and he give to me this code. Still thanks for a help Yes.. "Friend".. Of course. c: We are not going to help you with s...
83
Quote: Originally Posted by amirm3hdi Код: for (new i = 1; i < MAX_I_VALUES_HERE; i++) { if (!i) continue; printf('Looping %i', i); } Done Skipping i when it's 0 does not...
157
Quote: Originally Posted by Aa12 Код: public OnGameModeInit() { mysql_tquery(mysql, "SELECT * FROM houses", "LoadHouse"); return 1; } forward LoadHouse(); public LoadHouse() { for(new...
157
Quote: Originally Posted by GeneralAref how to remove stars in text draw? Код: ~g~[JOIN]:~w~ %s(%d) has ~g~joined ~w~the server. Either: - Change the font type - OR do not use ( an...
118
Quote: Originally Posted by lulo356 PHP код: public SendToAdmins(colour, string[]) {     for(new i = 0; i < MAX_PLAYERS; i++)     {           if(IsPlay...
188
Quote: Originally Posted by TwiiKzz Lol not to rename, i saw in admin System FS there is command /moveplayer so you can move the player up, down, left etc.. with this command. So i want to...
82
Show the body of pawn Код: SendToAdmins(x,y)
188
First remove both HouseInfo[HouseInfo[i][hID]][hDLabel] and HouseInfo[HouseInfo[i][hID]][hOutsideIcon]. Then refresh. (I mean objects that those variables are pointing at).
183
It is no bug. It is feautre. R* had no purpose to do collision meshes on those house floors, because they assumed that noone will be ever able to roam through those interiors (because they were used o...
86
Quote: Originally Posted by Eth try this: pawn Код: new WeapName[] ={    "Fist","Brass Knuckles","Golf Club","Nightstick","Knife","Basebal Bat","Shovel","Pool Cue","Katana","Chainsa...
107
pawn Код: for(new GunId = 0; GunId < MAX_GUNDROP; GunId++) {    if( IsPlayerInRangeOfPoint( playerid, 5.0, GunInfo[GunId][GunX], GunInfo[GunId][GunY], GunInfo[GunId][GunZ]) &&     ...
90