SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 19/12/2013, 07:55 AM   #1
thebeta
Little Clucker
 
Join Date: May 2012
Posts: 16
Reputation: 0
Question /guide

Ok guys, i'm alittle outdated on position spawn (By Camera)
Code:
SetPlayerCameraPos(playerid,X.Y.Z)
Rigth ?, i need help with configuring it to the general !
thebeta is offline   Reply With Quote
Old 19/12/2013, 09:40 AM   #2
thebeta
Little Clucker
 
Join Date: May 2012
Posts: 16
Reputation: 0
Default Re: /guide

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

Last edited by thebeta; 19/12/2013 at 11:25 AM.
thebeta is offline   Reply With Quote
Old 23/12/2013, 12:30 PM   #3
thebeta
Little Clucker
 
Join Date: May 2012
Posts: 16
Reputation: 0
Default Re: /guide

~ Srry for bumping this, but i'm still in need of help.
thebeta is offline   Reply With Quote
Old 23/12/2013, 12:48 PM   #4
Hansrutger
Gangsta
 
Hansrutger's Avatar
 
Join Date: May 2011
Location: Sweden
Posts: 509
Reputation: 43
Default Re: /guide

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

Example:
Code:
#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;
}
Hansrutger is offline   Reply With Quote
Old 23/12/2013, 12:50 PM   #5
thebeta
Little Clucker
 
Join Date: May 2012
Posts: 16
Reputation: 0
Default Re: /guide

+rep for you sir, don't lock this just yet, i maybe need something more.
thebeta is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] SA-MP Modding Guide slayer101 Tutorials 35 08/12/2013 07:51 AM
Need Guide yarin0600 Scripting Help 2 24/08/2012 06:19 PM
looking for a guide krammer General 2 19/05/2011 04:07 PM
PlayerInfo guide/tut? CrucixTM Help Archive 6 07/02/2010 01:05 AM


All times are GMT. The time now is 06:09 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.