Search Results
try this (credits to ***** for the plugin) https://github.com/Y-Less/sscanf/wiki/%22p%22-Specifier i cant really give a tutorial about it (i didnt use it much) but basically thats what u need edit: ...
166
if(gTeam[playerid] == TEAM_USA); the statement has a semicolon ( ; ) at the end... remove that semicolon as well
123
that is done by the FS automatically
1,300
At the top of the dfile include file, type Код: #define USE_PLUGIN_FUNCTIONS OR in the dfile include, find stock dir_exists . Just above it, you will find #if defined blablabla. Copy the part of s...
1,300
is it? ok my bad then :/ gotta check that up again... thanks for correcting
218
Also, ur sscanf usage is completely wrong Код: sscanf(query, "e<p<|>is[25]iiiiiffffff>", HouseInfo[i]); U need to specify the correct enumerated variables as parameters too eg. Код...
218
i dont think u should use " in Код: mysql_format(SQL, query, sizeof(query),"SELECT * FROM `"Houses_Table"` WHERE `ID` = '%i'"; You should use Код: mysql_format(SQL, query, sizeof(query),"SELEC...
218
it is because u are trying to fetch the name of player by id BEFORE knowing the id itself... the GetPlayerName function should be AFTER the sscanf call. Try this: Код: CMD:explode(playerid,params[...
83
Here: Код: new toggcp[MAX_PLAYERS]; public OnPlayerConnect(playerid) { toggcp[playerid] = 0; } CMD:toggc(playerid,params[]) { if(toggcp[playerid] == 0) { SendClientMessage(playerid,-1,"You...
144
try declaring raceVehicle variable as Код: new raceVehicle[5];
79
well... dialog should show up... there aint any reason it wont... except that u may b using more dialogs in other FilterScripts or Gamemodes.. those dialogs MUST return 0 at the end.. for example: К...
1,300
at registration its all proper... when i login, it jst goes crazy and somehow gets random numbers. all fields have same random number
177
here is the register and login thing... Код: stock RegisterPlayer(playerid, password[]) { new query[500],name[50],Float:x,Float:y,Float:z,rand,hashpass[200]; WP_Hash(hashpass,sizeof(hashpass),...
177
i didnt make that... i just printed the value of level on console... the values in level are random
177
Код: enum info { level } new pinfo[MAX_PLAYERS][info];
177
OK... so i have a problem again. This code:- Код: new DBResult:res,str1[3]; format(query,sizeof(query),"SELECT * FROM `USERS` WHERE `Name` = '%s' AND `Password` = '%s'",DB_Escape(name),DB_Escape(...
177
sorry... i am new... i wanna ask... how to use this? :-/ i sooooooo wanna use it
864
OK. so here is the code: Код: stock IsPlayerLoggedIn(playerid) { new query[500],name[50],DBResult:res; new loggedin; GetPlayerName(playerid,name,sizeof(name)); format(query,sizeof(query),"...
80