SA-MP Forums Archive
Bug in my scripts please I am need from little help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Bug in my scripts please I am need from little help (/showthread.php?tid=257238)



Bug in my scripts please I am need from little help - [eLg]OneOfAKind - 24.05.2011

Guys I have a problem. I have an export script/system which work perfect, but now I add a house system and when I create the house and everything looks good and when you enter in the checkpoint to /buyhouse you see the message from the export script when you eneter in checkpoint. You must be in a vehicle !
Why and how can I fix it




Re: Bug in my scripts please I am need from little help - Mauzen - 24.05.2011

Probably another part of your script uses the same dialog id as garhouse. For garhouse they should be defined somewhere at the top. Change these to other values.


Re: Bug in my scripts please I am need from little help - [eLg]OneOfAKind - 24.05.2011

I can't understand can you say me with what to change the defined at the top of GarHouse


Re: Bug in my scripts please I am need from little help - [eLg]OneOfAKind - 24.05.2011

Ok I did as you said me in MSN but still don't work I can't buy the house and I still see this message when I enter in the checkpoint You must be in a vehicle!


Re: Bug in my scripts please I am need from little help - CrazyBlob - 24.05.2011

on ur checkpoint do this


Код:
if(checkpointid = yourcheckpoint)
{
        if(IsPlayerInRangeOfPoint(playerid, 5.0, YOURCHECKPOINT CORDS))
        {
                    //your code here
        }
}



Re : Bug in my scripts please I am need from little help - Naruto_Emilio - 24.05.2011

Like ShowPlayerDialog(playerid, Dialogid) This red part change it to another id Then go to OnDialoResponse.... then change the number to the new one Hope you fix it


Re: Bug in my scripts please I am need from little help - [eLg]OneOfAKind - 24.05.2011

Can anyone to contact with me MSN: elgoneofakind@hotmail.com or Skype: skywalker1914 please help me because I can't understand how to fix it


Re: Bug in my scripts please I am need from little help - [eLg]OneOfAKind - 24.05.2011

The problem its fixed