Search Results
The "ccnr.sql" file includes weird words and functions, and the phpMyAdmins said: error, this is not a "SQL" file....
Can someone please give me the link of a working ccnr.sql please?
+REP
4,163
Hello, I've scripted an ATM's system, and I wanted to create a dynamic CP, this what happens when I type "create dynamic cp" at the loading loop:
PHP код:
atmInfo[i][atmID]Â =Â cache_get_field...
43
Hello, I've scripted a function, to make a checkpoint and a 3d text label in same time, before using the function there are no warnings, but when I used the function at OnGameModeInit, I got two warni...
21
Hello, I've made a "/h buy" command today, all functions in it are working well, except the mysql_format, it doesn't set the "owner" the player name.
Can someone tell me what's wrong in this?:
КоÐ...
17
-CaRRoT, I've used your script, but when I do /h buy while not in a house checkpoints, it spams me "You must be in a house cp..." 5 or 6 times, then it says: 0
28
Quote:
Originally Posted by -CaRRoT
Код:
CMD:h(playerid,params[])
{
new selection[10],string[145];
if(sscanf(params,"s[10]",selection))return SendUsageMSG(playerid,"/h [BUY/...
28
There is still another problem, when I /h buy while not in any checkpoint, it says: 0, as scripted, it has to say: you must be in a house checkpoint..
28
Quote:
Originally Posted by Mencent
PHP код:
CMD:h(playerid,params[])
{
    new selection[10],string[145];
    if(sscanf(params,"s[10]",selection))return SendUsageMSG(play...
28
Quote:
Originally Posted by Riddick94
It spams because checkpoints are having internal refresh/update in the game. That's why your chat box is getting loads of the same messages.
Edited...
28
Hello, I've scripted a command to buy a house, I made it currently to send you a message contains the id of the house checkpoint that you are in, but if I use the command while not in a checkpoint, it...
28
Quote:
Originally Posted by itsCody
Corrected a small error in your loading code.
PHP код:
forward Load_houses();
public Load_houses()
{
    new
        rows,
   Â...
24
Quote:
Originally Posted by itsCody
Put
PHP код:
mysql_tquery(mysql, "SELECT * FROM `Table_Name`", "Load_houses", "");Â
Under OnGameModeInIt
Edit mysql with your connec...
24
Hello, I've made a function "public" to load the houses in my "houses" mysql table, but I've put the function OnGameModeInit, and no thing was loaded.
Can someone tell me how to load them and where to...
24
Quote:
Originally Posted by ikey07
I haven't checked how samp sqlite works but did you used native DB:db_open(name[]); ?
Also try to open database with DB Browser for SQLite ( http://s...
21
Quote:
Originally Posted by Vince
This is not MySQL, this is SQLite. Difference.
Okay, can you give me the script to check if there are rows in "houses" table using MySQL please?
21
Hello, this is SQLite, can someone make me the same idea but in MySQL
Can someone help me please?
Код:
new DBResult:qresult, count = 0;
qresult = db_query(DB: HOUSEDB, "SELECT * FROM `houses`");
...
21