SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 07/11/2007, 02:28 PM   #361
Kapil
Gangsta
 
Join Date: Jun 2007
Posts: 529
Reputation: 22
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.2 ]

can u give us the code u have added, thank u, KAPIL.
Kapil is offline   Reply With Quote
Old 07/11/2007, 05:18 PM   #362
RedRhino
Little Clucker
 
Join Date: Oct 2007
Posts: 1
Reputation: 0
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.2 ]

I have problem with Buy biz and houses. I can bought biz or house, but biz cost is 5000 and my amount is 0. Sorry for my bad English
RedRhino is offline   Reply With Quote
Old 08/11/2007, 06:02 AM   #363
Kapil
Gangsta
 
Join Date: Jun 2007
Posts: 529
Reputation: 22
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.3 ]

UPDATED to 1.0.3

-o Few unknown bugs fixed( i wont say it, coz u didnt find them )
-o I have added few defines so now u can use AddStaticHouse(x,y,z,INTERIOR);
and replace that INTERIOR with
Small Houses:

HOUSE_SMALL_ONE
HOUSE_SMALL_TWO
HOUSE_SMALL_THREE
HOUSE_SMALL_FOUR

Medium Houses

HOUSE_MEDIUM_ONE
HOUSE_MEDIUM_TWO
HOUSE_MEDIUM_THREE
HOUSE_MEDIUM_FOUR

Large Houses

HOUSE_LARGE_ONE
HOUSE_LARGE_TWO
HOUSE_LARGE_THREE
HOUSE_LARGE_FOUR

e.g. AddStaticHouse(23213.3254,3434.2342,677.34323,HOUS E_MEDIUM_THREE);



Quote:
Originally Posted by RedRhino
I have problem with Buy biz and houses. I can bought biz or house, but biz cost is 5000 and my amount is 0. Sorry for my bad English
well go earn somemoney and then buy biz . Do SetBizCost.



Kapil is offline   Reply With Quote
Old 08/11/2007, 09:06 AM   #364
darkwatch
Little Clucker
 
Join Date: Jan 2007
Posts: 24
Reputation: 8
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.3 ]

RegSys isn't in the 1.0.3 rar.
__________________
Take a look: RacerX Race Script
darkwatch is offline   Reply With Quote
Old 08/11/2007, 09:27 AM   #365
Kapil
Gangsta
 
Join Date: Jun 2007
Posts: 529
Reputation: 22
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.3 ]

Quote:
Originally Posted by darkwatch
RegSys isn't in the 1.0.3 rar.
it wasent in 1.0.2 too
Kapil is offline   Reply With Quote
Old 08/11/2007, 11:18 AM   #366
darkwatch
Little Clucker
 
Join Date: Jan 2007
Posts: 24
Reputation: 8
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.3 ]

Quote:
Originally Posted by Kapil
it wasent in 1.0.2 too
Is a new and improved version on its way?
__________________
Take a look: RacerX Race Script
darkwatch is offline   Reply With Quote
Old 08/11/2007, 11:20 AM   #367
Kapil
Gangsta
 
Join Date: Jun 2007
Posts: 529
Reputation: 22
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.3 ]

Quote:
Originally Posted by darkwatch
Quote:
Originally Posted by Kapil
it wasent in 1.0.2 too
Is a new and improved version on its way?
for RegSys ?
Kapil is offline   Reply With Quote
Old 08/11/2007, 12:53 PM   #368
darkwatch
Little Clucker
 
Join Date: Jan 2007
Posts: 24
Reputation: 8
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.3 ]

Opps yeah didn't explain.

It seems to have crash bugs on login for me
__________________
Take a look: RacerX Race Script
darkwatch is offline   Reply With Quote
Old 08/11/2007, 12:58 PM   #369
Kapil
Gangsta
 
Join Date: Jun 2007
Posts: 529
Reputation: 22
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.3 ]

Quote:
Originally Posted by darkwatch
Opps yeah didn't explain.

It seems to have crash bugs on login for me
not only u but there was few problems with commands when u had RegSys as FS, so it was removed.
Kapil is offline   Reply With Quote
Old 08/11/2007, 01:01 PM   #370
MiniYoda
Little Clucker
 
Join Date: Nov 2007
Posts: 26
Reputation: 0
Default Re: MIC] - [ Make It Comfortable ] - Version 1.0.3 ]

Code:
#include <a_samp>

#include <M.I.C>

new house1;

new house2;


#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
	print("\n------------[ MIC ]---[ 1.0 ]----");
	print("\n--------------------------------------");
	print(" Blank Filterscript by your name here");
	print("--------------------------------------\n");
	return 1;
}
public OnFilterScriptExit()
{
	return 1;
}
#else
main()
{
	print("\n------------[ MIC ]---[ 1.0 ]----");
	print("\n----------------------------------");
	print(" Blank Script by your name here");
	print("----------------------------------\n");
}
#endif

public OnGameModeInit()
{
	SetGameModeText("My Game Mode [ MIC ]");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	ToggleRealClock(0);
	EnableGantonGym(1);
	
	// AddStaticHouse

  house1 = AddStaticHouse(1958.3783, 1343.1572, 15.3746,1958.3783, 1343.1572, 18.3746,0);

  house2 = AddStaticHouse(4554.3783, 4545.1572, 4255.3746,454.3783, 684.1572, 455.3746,0);
  
  
	
	return 1;
}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	return 1;
}

public OnPlayerConnect(playerid)
{
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	return 1;
}

public OnPlayerSpawn(playerid)
{
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerPrivmsg(playerid, recieverid, text[])
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
   if(strcmp("/in",cmdtext,true)==0)

  {

    // SetPlayerInHouse

    SetPlayerInHouse(playerid,house2);

  }



  if(strcmp("/out",cmdtext,true)==0)

  {

    // SetPlayerInHouse

    SetPlayerOutHouse(playerid,house2);

  }


	return 0;
}

public OnPlayerInfoChange(playerid)
{
	return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(checkpointid,playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(checkpointid,playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}
public OnPlayerEnterZone(playerid,zoneid)
{
	return 1;
}

public OnPlayerLeaveZone(playerid,zoneid)
{
	return 1;
}

public OnPlayerPickPik(playerid,pikid)
{
	return 1;
}

public OnPlayerKeyPress(playerid,key)
{
	return 1;
}

public OnPlayerEnterHouse(playerid,houseid)
{
	SetPlayerVirtualWorld(playerid,worldid);
	return 1;
}

public OnPlayerEnterBiz(playerid,bizid)
{
	SetPlayerVirtualWorld(playerid,worldid);
	return 1;
}

public OnPlayerLeaveHouse(playerid,houseid)
{
	SetPlayerVirtualWorld(playerid,0);
	return 1;
}

public OnPlayerLeaveBiz(playerid,bizid)
{
	SetPlayerVirtualWorld(playerid,0);
	return 1;
}

public OnPlayerRentHouse(playerid,houseid)
{
	return 1;
}

public OnPlayerBuyHouse(playerid,houseid)
{
	return 1;
}

public OnPlayerBuyBiz(playerid,bizid)
{
	return 1;
}

public OnPlayerSellHouse(playerid,houseid)
{
	return 1;
}

public OnPlayerSellBiz(playerid,bizid)
{
	return 1;
}

Okay here is it... i know that i am a noob^^
Thank you for your Help
MiniYoda 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
[Include] [ KIHC ] - [ Kapils Instant House Constructions ] - [ Redefined ] Kapil Includes 904 27/12/2011 10:51 PM
How to make a menu and how to make it have teleport options zanakinz Help Archive 9 05/04/2011 12:55 AM
[HELP]How to make 0.3a houses for sell and how to make it Lilcuete Help Archive 7 23/12/2009 03:56 PM
Make a door and make to move the gate whitedragon Help Archive 18 27/11/2009 09:39 PM


All times are GMT. The time now is 12:26 AM.


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