Search Results
Anyone know how to replace [ and ] since it registers as invalid symbol?
182
error 033: array must be indexed (variable "-unknown-") Shouldnt the "if( nickname[ i ] == "_" )" use strfind?
182
Basically, I'm trying to make a function based off GetPlayerName, but to remove the "_" and replace it with a space. pawn Код: stock GetPlayerRoleplayName(playerid){    new playa[MAX_PLAYER_NAM...
182
https://sampwiki.blast.hk/wiki/OnPlayerInteriorChange
148
You either don't have a player class under OnGameModeInit pawn Код: AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_amm...
80
Must be desync between players - you are able to kill the passenger who is in DB.
228
Nope. while(mysql_fetch_row_format(query,"|")) is checking the query. I'm giving you a different stock method which is easier for you. If not, add mysql_query(query); before while(mysql_fetch_row_f...
124
Try this: pawn Код: stock mysql_GetString(Table[], Field[], Where[], Is[]){    new query[128], Get[128];    format(query, 128, "SELECT * FROM `%s` WHERE `%s` = '%s'", Table, Where, Is);    ...
124
How can it return Get, if you didn't format Get? lol I would also use mysql_fetch_field_format(); In this: while(mysql_fetch_field_format(querystringhere,"|" )) { mysql_fetch_field_row(storestrin...
124
pawn Код: if(strcmp(cmdtext, "/trafika", true) == 0){    if(IsPlayerInRangeOfPoint(playerid, 5.0,1363.8109,-1387.7731,13.6575) || IsPlayerInRangeOfPoint(playerid, 5.0,1165.5878,-934.6587,43.1992...
142
pawn Код: if(IsPlayerInRangeOfPoint(playerid, 5.0,1363.8109,-1387.7731,13.6575) || IsPlayerInRangeOfPoint(playerid, 5.0,1165.5878,-934.6587,43.1992) || IsPlayerInRangeOfPoint(playerid, 5.0,1147.28...
142
pawn Код: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){    if(dialogid == 3300)//our dialog!    {        if(response == 1)// They pressed the first button.Â...
68
pawn Код: new path[128];format(path,sizeof(path),"Your directory/%s.ini",tmp);if(fexists(path)) return SendClientMessage(playerid,-1,"This name is taken.. try again!"); Change Your Directory to w...
88
What is your admin variable? And basically works like this: if(youradminvariable[playerid] >= 1) { SendClientMessage(playerid,-1,"Only lvl 1 or above can see this.."); } if(youradminvarilable[pla...
65
Wrong. You need this: https://sampforum.blast.hk/showthread.php?tid=282801 This allows you to remove anything and everything
103
To skip the Request class pawn Код: SetSpawnInfo(playerid,team,skin,Float:x,Float:y,Float:z,Float:r,0,0,0,0,0,0);SpawnPlayer(playerid); Add that to the function you are using to load their stats...
49
Why are you using OnPlayerText, if he asked for it to be /t ?
159
pawn Код: #include <a_samp>#include <zcmd>#include <foreach>#include <sscanf>forward TeamChat(playerid,string[]);public TeamChat(playerid,string[]){    foreach(Player,i)Â...
159