- 0
Problema Sistem de case (mysql)
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Razvan Eternity
Erori:
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(458) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(459) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(460) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(461) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(462) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(463) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(464) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(465) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(465) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(466) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(466) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(467) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(468) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(469) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(470) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(471) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(472) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(473) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(474) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(475) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(476) : warning 202: number of arguments does not match definition
D:\Users\Razvan\Desktop\SAMP\gamemodes\gamemode.pwn(477) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
22 Warnings.
[Finished in 2.6s]
Cod:
forward LoadProperty();
public LoadProperty()
{
handle = mysql_connect(SQL_HOST, SQL_USER, SQL_PASSWORD, SQL_DATABASE);
new rows;
cache_get_row_count(rows);
housess = cache_num_rows();
for(new i = 1; i <= housess; i++)
{
new h = i - 1;
HouseInfo[hID] = cache_get_value_name_int(h, "ID");
HouseInfo[hEntrancex] = cache_get_value_name_float(h, "Entrancex");
HouseInfo[hEntrancey] = cache_get_value_name_float(h, "Entrancey");
HouseInfo[hEntrancez] = cache_get_value_name_float(h, "Entrancez");
HouseInfo[hExitx] = cache_get_value_name_float(h, "Exitx");
HouseInfo[hExity] = cache_get_value_name_float(h, "Exity");
HouseInfo[hExitz] = cache_get_value_name_float(h, "Exitz");
cache_get_field_name(h, "Owner", HouseInfo[hOwner], handle, 130);
cache_get_field_name(h, "Discription", HouseInfo[hDiscription], handle, 130);
HouseInfo[hValue] = cache_get_value_name_int(h, "Value");
HouseInfo[hHel] = cache_get_value_name_int(h, "Hel");
HouseInfo[hArm] = cache_get_value_name_int(h, "Arm");
HouseInfo[hInterior] = cache_get_value_name_int(h, "Interior");
HouseInfo[hLock] = cache_get_value_name_int(h, "Lockk");
HouseInfo[hOwned] = cache_get_value_name_int(h, "Owned");
HouseInfo[hRent] = cache_get_value_name_int(h, "Rent");
HouseInfo[hRentabil] = cache_get_value_name_int(h, "Rentabil");
HouseInfo[hTakings] = cache_get_value_name_int(h, "Takings");
HouseInfo[hLevel] = cache_get_value_name_int(h, "Level");
HouseInfo[hVirtual] = cache_get_value_name_int(h, "Virtual");
}
printf("Houses: %d", housess);
}
[/spoiler
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now