how to add items like mobile etc... to carlitos roleplay?
#1

how to add items like mobile etc... to carlitos roleplay?
like you can buy them at shop, and it saves to user
Reply
#2

nobody replys there it so sad
Reply
#3

Код:
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 ==> Ok then


make a command under on PlayerCommandText like /buyphone.

Then. Put SetPlayerSpeicalAtion(playerid,SPECIAL_ACTION_DRIN K_BEER);



Here use this ==>
Код:
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..!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)