Search Results
Check this https://sampwiki.blast.hk/wiki/MySQL/R40 and the code need be like this Код: function:Query_LoadFactionRanks(factionid) { new str[128]; new rows = cache_num_rows(); for (new i = ...
114
EDITED; when you create it use UpdateSAM(i); under OnSAMCreated check editing == 2 and it will be showing when you creating it
94
Quote: Originally Posted by akib OnSAMLoad: PHP код: public OnSAMLoad() {     new num_fields,num_rows;     cache_get_data(num_rows,num_fields,dbhandle);     if(!num_ro...
94
Quote: Originally Posted by Mike861 I assume its only gonna send messages to admins, this should send the message to everyone. yes you right i was think that he want the message show o...
193
try this maybe will help Код: stock SendMessageToPlayers(text[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(PlayerInfo[i][pAdmin] == 1) { SendClientMessage(i, COLOR_LEVEL1,text); } els...
193
you have an bracket remove it and it will be fixed Код: format(string,sizeof(string),"[IRC] Administrator \"%s\" has set your name to \"%s\" ", user, name); SendClientMessage(playerid,blue,string...
126
Quote: Originally Posted by Suikast allthing Right with int and float i checked all …. when i start my Server i get this Errors from mysql_log 17 times at the same second… only at star...
167
post here the code of weapon-config ans show some of other commands
136
check database column if it INT(something) you need use in pawno cache_get_field_content_int(); if its VARCHAR(somethin) or TEXT or DATE or TIMESTAMP you need use in pawno cache_get_field_content(......
167
You need to change the variable name because its already defined try this PHP Code: stock GetClosestCar(playerid, exception = INVALID_VEHICLE_ID) {     new         Float: Dista...
81
1. Don't load FilterScript in OnGamemodeInit 2. There was a broken function inside script that blocked all other things 3. OnPlayerCOmamndText should return 0 value in each FS
136
hello, there are a lot of methods according to your script Here a method PHP код: public OnPlayerUpdate(playerid) {     new pname[MAX_PLAYER_NAME];     GetPlayerName(playerid, pn...
103
pm me maybe i will help u
135
PHP код: //#define LOCAL_HOST#define SERVER_HOST#if defined SERVER_HOST/* Mysql Entities */#define MYSQL_HOST    ""#define MYSQL_USER    ""#define MYSQL_PASS     ""#defin...
128
Change DATETIME to timestamp LIKE: PHP код: stock MySQL_SetUpTables() { mysql_tquery(SQL_ID, "CREATE TABLE IF NOT EXISTS `accounts` ( \ `uid` INT(11) NOT NULL AUTO_INCREMENT, \ `...
84
in your script you using an old MySQL Download the old version of MySQL or update your script to the latest MySQL version
159
Check the column if it is correct (Name) and table (accounts)
112
what plugin version are you using ?
125