SA-MP Forums Archive
/guide - 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)
+--- Thread: /guide (/showthread.php?tid=482066)



/guide - thebeta - 19.12.2013

Ok guys, i'm alittle outdated on position spawn (By Camera)
Код:
SetPlayerCameraPos(playerid,X.Y.Z)
Rigth ?, i need help with configuring it to the general !


Re: /guide - thebeta - 19.12.2013

EDIT: Can someone help me with this

Problem: When i make a DialogBoxMSG, i've done a "next" button, how do i make another MSG box appear if they push on next


Re: /guide - thebeta - 23.12.2013

~ Srry for bumping this, but i'm still in need of help.


Re: /guide - Hansrutger - 23.12.2013

To make another Dialog pop up, use the response on OnDialogResponse.

Example:
Код:
#define DIALOG_ID 1

OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_ID)
	{
		if(response)
		{
			//Code here if the player presses THE FIRST BUTTON (next in your case)
		}
		if(!response)
		{
			//Code here if the player presses THE SECOND BUTTON (by default if this is not used, the dialog is closed down if this is pressed!
		}
	}	
		
}

CMD:yolo(playerid, params[])
{
	ShowPlayerDialog(playerid, DIALOG_ID, ...rest of the information...);
	return 1;
}



Re: /guide - thebeta - 23.12.2013

+rep for you sir, don't lock this just yet, i maybe need something more.