Warning on script
#2

Код:
if(dialogid == DIALOG_INTERIOR_MENU)
{
	if(response)
 	{
	new arrayid = listitem;
    SetPlayerPos(playerid, InteriorDialogData[arrayid][0], InteriorDialogData[arrayid][1], InteriorDialogData[arrayid][2]);
    SetPlayerInterior(playerid, InteriorDialogInteriors[arrayid][0]);
    SetPlayerFacingAngle(playerid, InteriorDialogData[arrayid][3]);
    format(string, sizeof(string), "[INTERIOR]: You teleported to interior ' %s '.", InteriorDialogNames[arrayid][0]);
    SendClientMessage(playerid, 0xADD8E6FF, string);
    }
    else
	{
    //The player has pressed "Close".
    SendClientMessage(playerid, COLOR_RED, "You have closed the Interior Teleport Dialog.");
    return 1;
    }
}
here ya go...
Reply


Messages In This Thread
Warning on script - by Shazwan - 06.07.2013, 06:32
Re: Warning on script - by SwisherSweet - 06.07.2013, 06:38
Re: Warning on script - by Shazwan - 06.07.2013, 06:47

Forum Jump:


Users browsing this thread: 2 Guest(s)