SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 17/03/2010, 10:32 PM   #11
Steven82
High-roller
 
Join Date: Nov 2009
Posts: 2,431
Reputation: 186
Default Re: Binco

Sorry but guys im a noob... So i do not know how to use some of these commands that why i ask for example likes this one then i learn and build off of it.
__________________
If you read my old posts; I apologize in advance.
Steven82 is offline  
Old 27/03/2010, 03:52 PM   #12
Bonez84
Little Clucker
 
Join Date: Jan 2010
Location: Miami, FL
Posts: 14
Reputation: 0
Default Re: Binco

Quote:
Originally Posted by MrIncredible
Code:
new minimenu; // at the verytop put this
minimenu = CreatePickup(234, 23, -2348.942,261.415,2.65); //put this under ongamemodeinit and change the position to binco
public OnPlayerPickUpPickup(playerid, pickupid)
{
  if(pickupid == minimenu)
	{
		ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Rich", "Not rich", "Select", "Cancel");!");
	}
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
		  new string[128];

		  if(dialogid == 1 )
		  {
			  if(!response)
			  {
		   		ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "nRich", "nNot Rich", "Select", "Cancel");
			    TogglePlayerControllable(playerid, 0);
				}

			  if(response)
			  {
			    if(listitem == 0)
			    {
					 SetPlayerSkin(playerid,23); // choose the skin id by changing the 23 ...
		      }
		    }
		  if(listitem == 1)
			    {
           SetPlayerSkin(playerid, 25); ///// for this one also
          }
      return 1;
}
Now for the money part .. so it takes his money ... ask ther people .. cuz i dont remember it
This is what I got out of this

D:\Samp Server\gamemodes\Just-RP.pwn(16 : error 010: invalid function or declaration
D:\Samp Server\gamemodes\Just-RP.pwn(170) : error 021: symbol already defined: "Streamer_OnPlayerPickUpPickup"
D:\Samp Server\gamemodes\Just-RP.pwn(173) : error 037: invalid string (possibly non-terminated string)
D:\Samp Server\gamemodes\Just-RP.pwn(173 -- 174) : warning 215: expression has no effect
D:\Samp Server\gamemodes\Just-RP.pwn(174) : error 001: expected token: ";", but found "}"
D:\Samp Server\gamemodes\Just-RP.pwn(203) : error 030: compound statement not closed at the end of file (started at line 180)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
Bonez84 is offline  
Old 27/03/2010, 04:22 PM   #13
Steven82
High-roller
 
Join Date: Nov 2009
Posts: 2,431
Reputation: 186
Default Re: Binco

Please read before just copying and pasting :P
__________________
If you read my old posts; I apologize in advance.
Steven82 is offline  
 

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
BINCO Ihsan_Cingisiz Help Archive 2 30/05/2010 04:54 PM
|Map| BInco [LS] mininou Filterscripts 14 19/04/2010 04:10 AM
[DUV]Binco Mhyfp Português/Portuguese 9 12/01/2010 02:30 PM
[Help]Command / Binco clothing blasycia09 Help Archive 4 28/02/2009 02:20 PM


All times are GMT. The time now is 06:39 PM.


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