PDA

View Full Version : exit code problem


Slicebook
02/04/2014, 03:16 PM
else if( dialogid == DIALOG_HOUSEM )
{
if( !response )
{
return 1;
}
if( listitem == 0)
{
if(IsAt(playerid,IsAt_HazElott) != NINCS)
{
for(new i = 0; i < hazak; i++)
{
if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
{
if(HouseInfo[i][hLock] == 0)
{
new HazBelso = HouseInfo[i][hBelso];
SetPlayerInterior(playerid,IntInfo[HazBelso][iNumber]);
SetPlayerPos(playerid,IntInfo[HazBelso][iExitX],IntInfo[HazBelso][iExitY],IntInfo[HazBelso][iExitZ]);
SetPlayerVirtualWorld(playerid, i);
GameTextForPlayer(playerid, "~w~Üdv itt!", 5000, 1);
PlayerInfo[playerid][pLocal] = i;
Hazbanvan[playerid] = 1;
new zseka = Fbios[playerid];
SendFormatMessage(zseka, Pink, "PDA Üzenet: %s bement a %d számú házba.", PlayerName(playerid), i)
SetPlayerMarkerForPlayer(zseka, playerid, COLOR_INVISIBLE);
return 1;
}
}
}
}

Slicebook
02/04/2014, 03:18 PM
I think the bad end, 26errors 1exit code

Slicebook
02/04/2014, 03:47 PM
oh thanks!