Posts: 5
Threads: 1
Joined: Jul 2012
Reputation:
0
You must have done something wrong in it post your enter command here check it out that coordinates works fine or no.
Posts: 637
Threads: 106
Joined: May 2011
Reputation:
0
it working fine im using Cali-Houses but the point is that i must wrongly paste the interior cords.But those cords are from wiki.
Posts: 637
Threads: 106
Joined: May 2011
Reputation:
0
Sample:
[PAWN][/if(listitem == 6)
{
new randvir = 2 + random(1999999);
new str[64];
SetupHouseInfo[playerid][SetupPrice] += 500000;
SetupHouseInfo[playerid][SetupTX] = 2317.8201;
SetupHouseInfo[playerid][SetupTY] = -1024.3892;
SetupHouseInfo[playerid][SetupTZ] = 1050.2109;
SetupHouseInfo[playerid][SetupTA] = 360.0000;
SetupHouseInfo[playerid][SetupInt] = 9;
SetupHouseInfo[playerid][SetupVir] = randvir;
SendClientMessage(playerid, 0xFFFF00FF, "Tavo namo vidus bus :");
SendClientMessage(playerid, 0xFFFFFFAA, "Villa");
format(str, sizeof(str), "Price: $%d", SetupHouseInfo[playerid][SetupPrice]);
SendClientMessage(playerid, 0xFFFFFFAA, str);
ShowPlayerDialog(playerid, 668, DIALOG_STYLE_LIST, "House Setup", "Entrance\nName\nDescription\nInterior\nRent\nPurc hase", "Select", "");
PlayerPlaySound(playerid, 1149, 0.0, 0.0, 0.0);
HasAlreadySetupInterior[playerid] = true;
new file[100], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, 24);
format(file, sizeof(file), "Houses/%s.ini", pName);
dini_IntSet(file, "Price", SetupHouseInfo[playerid][SetupPrice]);
dini_FloatSet(file, "Teleport X", SetupHouseInfo[playerid][SetupTX]);
dini_FloatSet(file, "Teleport Y", SetupHouseInfo[playerid][SetupTY]);
dini_FloatSet(file, "Teleport Z", SetupHouseInfo[playerid][SetupTZ]);
dini_FloatSet(file, "Teleport Angle", SetupHouseInfo[playerid][SetupTA]);
dini_IntSet(file, "Interior", 9);
dini_IntSet(file, "Virtual", randvir);PAWN]
Posts: 565
Threads: 32
Joined: Jul 2012
Reputation:
0
Its not [PAWN]['yourcode;PAWN]. Its [ pawn] [ /pawn] (without spaces)
Posts: 1,018
Threads: 129
Joined: Apr 2011
Reputation:
0
I think I might have spotted the problem,you use Cali House System,I have an other house system wich works perfectly,it's called my house system.You shoould really script one for yourself,plus I see Cali's house system uses dini,and that's slow.