SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 05/04/2010, 01:16 PM   #1
hardstop
Huge Clucker
 
Join Date: Aug 2008
Posts: 280
Reputation: 1
Default how to add items like mobile etc... to carlitos roleplay?

how to add items like mobile etc... to carlitos roleplay?
like you can buy them at shop, and it saves to user
hardstop is offline  
Old 05/04/2010, 04:23 PM   #2
hardstop
Huge Clucker
 
Join Date: Aug 2008
Posts: 280
Reputation: 1
Default Re: how to add items like mobile etc... to carlitos roleplay?

nobody replys there it so sad
hardstop is offline  
Old 06/04/2010, 07:15 AM   #3
Jay.
High-roller
 
Join Date: Nov 2009
Location: UK
Posts: 1,121
Reputation: 47
Default Re: how to add items like mobile etc... to carlitos roleplay?

Code:
Use MTA and click objects then go and click pickups. and find the mobile phone and put it in the shop u want it to be in then


Convert it ==> [codehttp://gtamap.delux-host.com/]
After that put it under OnGameInt in ur script and complie.


then go to wiki and find ==>
Code:
http://wiki.sa-mp.com/wiki/SpecialActions
Ok then


make a command under on PlayerCommandText like /buyphone.

Then. Put SetPlayerSpeicalAtion(playerid,SPECIAL_ACTION_DRIN K_BEER);



Here use this ==>
Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/handsup", cmdtext, true, 10) == 0)
	{
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);

		return 1;
	}




Ok now i sergest Complie and go ingame go to the shop where u placed the phone and type /buyphone or what ever item u placed and named hope u understand what i said and its only a idea..!
Jay. 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
where to put these items in pawno? manunited1878 Help Archive 12 29/07/2011 12:06 AM
Items(sorta) luigifan9 Help Archive 2 24/04/2010 09:09 PM
[Ajuda] Carlitos RP @ TUT PatrickChucky PortuguÍs/Portuguese 0 05/04/2010 01:21 AM
Carlitos 0.3 problem joe_stoner Help Archive 1 05/01/2010 11:51 PM
Casino items? Ben147 Help Archive 8 21/08/2009 06:58 PM


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


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