Search Results
I found this filterscript, but sadly it won't work for me. I've tried to implement it in my code not as a filterscript and it barely works. The dealership dialog has some weird symbols all over the pl...
68
Quote: Originally Posted by Calisthenics Vehicles ID start from 1. pawn Код: for(new i = 1; i != MAX_VEHICLES; i++) This is my new for loop and it's still not working, I get 17 ins...
135
I found this cool stock that lets you get the ID of any vehicle that is within a radius of the player Код: stock GetClosestVehicle(playerid, Float: fRadius) // by RyDeR` { new iCloses...
135
Quote: Originally Posted by Verc I'm not that expert,but shouldn't it be 'MySQL' instead of MYSQL? Yup, that worked, lol, I spent 1 hour checking my tables in phpadmin, correcting code,...
66
This is most of hte lines from where I get a warning Код: mysql_format(g_Sql, query, sizeof(query), "UPDATE `accounts` SET `Cash` = %d WHERE `ID` = %d", PlayerInfo[playerid][Cash], PlayerInfo[pla...
66
At the top of your script, delete the #define ResetPlayerMoney and then you need to change all of GivePlayerCash to GivePlayerMoney
95
I have this enum: Код: enum pVehicles { //STORED IN A DB vID, //Separate IDs for all the player owned vehicles Model, vOwner[MAX_PLAYER_NAME], Float:VehX, Float:VehY, Float:VehZ...
61
Код: new rows; cache_get_row_count(rows); if(rows).... Check this link for more details, it helped me enormously: https://sampforum.blast.hk/showthread.php?tid=616103
158
At case:RegisterDialog at the return Код: ShowPlayerDialog(playerid, RegisterDialog, DIALOG_STYLE_INPUT,"{FF0000}Indonesia Real Life Roleplay - {FF0000}Register",string1,"Register","Quit"); You ...
212
Quote: Originally Posted by X337 Second parameter of "OffBan" callback is integer, it should be an array/string. Код: public OffBan(playerid, Banned[]) Thank you, you are awesome ...
207
But, it still won't read the player's name, even with the single quotes, that was the problem. Also, thanks for the cache_affected_rows() tip, I will definitely use it If I could fix that problem
207
Okay, so I made this PHP код: CMD:oban(playerid, params[])// Banning offline players {     new banned, AdminName[MAX_PLAYER_NAME], PlayerName[MAX_PLAYER_NAME], str[128], reason[32...
207
Quote: Originally Posted by AndySedeyn Have you declared 'query' as an array? EDIT: nevermind, this gives a different error. Are you sure your include is R40+? Query is declared as an a...
425
I have this PHP код: CMD:oban(playerid, params[])// Banning offline players {     new banned, AdminName[MAX_PLAYER_NAME], PlayerName[MAX_PLAYER_NAME], str[128], reason[32], query...
207
BUMP. How can I remove the warnings and still use mysql_tquery and mysql_format Sorry for bumping, but I have 150 warnings all the same now.
425
Did it compile successfully? If yes, then update all your #includes that you have and then go to server.cfg, open with a Notepad and update all the plugins there mentioned. To update: Go on ****** and...
96
Quote: Originally Posted by oMa37 How you defined PlayerInfo? Can you show the entire enum? Код: enum pInfo { //QUERY STORED DATABASE ID, Name[MAX_PLAYER_NAME], Password[129], ...
425
Quote: Originally Posted by TitanX PHP код: new g_Sql;  to PHP код: new MySQL:g_Sql;  It was already like that...I know the changes after R40
425
Everytime I use these [mysql_format & mysql_tquery]: Код: mysql_format(g_Sql, query, sizeof(query), "UPDATE `accounts` SET `Cash` = '%i' WHERE `ID` = '%i'", PlayerInfo[playerid][Cash], Playe...
425
Try here? http://dev.prineside.com/en/gtasa_sa.../search/?q=a51 http://dev.prineside.com/en/gtasa_sa...arch/?q=garage
237