Houses..
#1

Hy,

I need a little help in my script.
This is a MySQL house script and have some warning in this:

Код:
new Float:HouseInfo[3][5] = {
{976.3723,-1390.2350,13.5136,5000000,10}, // line 255
{911.3188,-1437.9507,13.5128,6000000,12}, //line 256
{1981.5543,-1401.8679,20.4576,3000000,6} // line 257
};
My warns:

Код:
C:\Users\pacni\Desktop\Roleplay\03d\gamemodes\MySQL.pwn(255) : warning 213: tag mismatch
C:\Users\pacni\Desktop\Roleplay\03d\gamemodes\MySQL.pwn(255) : warning 213: tag mismatch
C:\Users\pacni\Desktop\Roleplay\03d\gamemodes\MySQL.pwn(256) : warning 213: tag mismatch
C:\Users\pacni\Desktop\Roleplay\03d\gamemodes\MySQL.pwn(256) : warning 213: tag mismatch
C:\Users\pacni\Desktop\Roleplay\03d\gamemodes\MySQL.pwn(257) : warning 213: tag mismatch
C:\Users\pacni\Desktop\Roleplay\03d\gamemodes\MySQL.pwn(257) : warning 213: tag mismatch
C:\Users\pacni\Desktop\Roleplay\03d\gamemodes\MySQL.pwn(591) : warning 213: tag mismatch
C:\Users\pacni\Desktop\Roleplay\03d\gamemodes\MySQL.pwn(591) : warning 213: tag mismatch
And the last two warning is in this line:

Код:
AddHouse(X,Y,Z,HouseInfo[value][0],HouseInfo[value][1],HouseInfo[value][2],playerid,HouseInfo[value][3],1,0,HouseInfo[value][4],VirWorld);
I know, int the AddHouse I need to use the sizeof or something like, but I dont know how.

Sorry for my English... If you dont understand really my question write a comment.


The stock, but this not very interresting:

Код:
stock AddHouse(Float:HX, Float:HY, Float:HZ, Float:HEX, Float:HEY, Float:HEZ, Tulaj, Ar, Zarva, Tulaja, Int, World)
Reply
#2

I dont think you need the 3 part, try
pawn Код:
new Float:HouseInfo[][5] = {
Untested
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)