Search Results
Return: PHP код: if(rank > PlayerInfo[playerid][pFacRank]) return SendClientMessage(playerid, COLOR_GREEN, "PROMOTION!");  Works: PHP код: if(rank > PlayerInfo[playe...
88
You haven't assigned playerb a value yet, so it's registering as playerid 0. PHP код: CMD:giveweapon(playerid, params[]) {     new string[128], playerb, weapon;     if(sscanf(param...
166
I understand now. Sorry, it's a shitty habit. I'll try to get out of it. And I'll fix the code when inserting a new row, like you said it's a waste of time to send a new query. Thanks for your repl...
87
I'll try to explain this problem to best of my ability, basically I have a command '/acar create < model id / model name.' This inserts a new row in to the MySQL table `VehicleInfo` (a new vehicle)...
87
I have this command, when I remove the overflow it works perfectly although can go over string limit of 'MAX_PLAYER_NAME' - 24. This crashes the server, so i'm just starting to add these overflow thin...
80
Replace '/' with '\' i had same problem with y_inline and y_dialog seemed to work after this. No idea why it happens. Код: #include <YSI\y_flooding>
78
Personally I use PVars for SetPlayerBacks (Such as entering paintball... ect). PHP код: if(PlayerInfo[playerid][TrashDuty] == 0) {    PlayerInfo[playerid][TrashDuty] = 1;    SetPVa...
181
PHP код: if(!strcmp(udb_hash(inputtext), PlayerInfo[playerid][PASSWORD], true)) {     INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);     ...
148
Quote: Originally Posted by NealPeteros Have you included the include file in functions.pwn? Wait, is that how it works? Just try #include 'ing it in functions.pwn Thanks for replying, ...
44
Код: new levelf = PlayerInfo[playerid][pFishSkill]; You missed a ; at the end.
95
Hi, my server keeps showing this violation in the log files... can anyone explain to me what this is and how to resolve it? It's crashing my server. I'm using BlueG's R41-2 plugin. Код: [22:00:...
98
Код: GivePlayerWeapon(playerid, PlayerInfo[playerid][cWeapon1], PlayerInfo[playerid][cAmmo1]); GivePlayerWeapon(playerid, PlayerInfo[playerid][cWeapon2], PlayerInfo[playerid][cAmmo2]); I have th...
84
I'll spend some more time making some changes, thinking of changing the stairs placement and some furniture objects inside the living area. I'll then find some materials that I think would look well o...
418
Well, the idea for this house was for a very modern / LA base house theme. With a traditional interior, I like the result. Thanks. If you use it on your server or w.e with it please don't forget to cr...
418
Quote: Originally Posted by Runn3R try You know that the max input is 128? - player name and - function name Now I do Still not working, although it works like this: pawn Код: ...
75
Try this pawn Код: new plrIP[16];GetPlayerIp(playerid, plrIP, sizeof(plrIP));mysql_format(mysql, query, sizeof(query), "SELECT `IP` FROM `info` WHERE `IP` = '%e' LIMIT 1", plrIP);new Cache:result ...
96
pawn Код: COMMAND:kick(playerid, params[]) {    if(PlayerInfo[playerid][pAdmin] < 1 && !IsPlayerAdmin(playerid)) return SendError(playerid, CANT_USE_CMD);    new iPlayer, iReason[15...
75