[Include] [ MIC ] - [ Make It Comfortable ] - [ Redefined ]
#41

It compiles but the commands dont work.
Reply
#42

hwere can i find holiday edition? because i need gang create and etc. stuff with gang

i searche but i cant find it.

Quote:
Originally Posted by Marcel
This is in mic_guide.inc:
Quote:

# Make It Comfortable. Holiday Edition [ MIC. h.e.1 ]

/*
[TESTED]-o Save n Load

- Create(file[])
Info: Creates a data set file.
Parameters:
file[] - file name
returns - none

- Delete(file[])
Info: Deletes a data set file.
Parameters:
file[] - file name
returns - none

- Rename(file[],newname[])
Info: Renames a data set file.
Parameters:
file[] - old file name
newname[] - new name
returns - none

- Save(file[],data[],value[])
Info: Saves data with the value into a data set file.
Parameters:
file[] - file name
data[] - data(information)
value[] - value for the information
returns - none

- Load(file[],data[])
Info: Loads the value of data from the given data set file.
Parameters:
file[] - file name
data[] - data which requires its value
returns - value

[TESTED]-o House

- SetHouse(iconid,Float:OutsideX,Float:OutsideY,Floa t:OutsideZ,Float:InsideX,FLoat:InsideY,Float:Insid eZ,InsideID,Cost)
Info: Sets a pre-built house with flexible and intractive features.
Parameters:
iconid - Pickup Model Id
OutsideX - X cordinate of the outside of the house
OutsideY - Y cordinate of the outside of the house
OutsideZ - Z cordinate of the outside of the house
InsideX - X cordinate of the inside of the house
InsideY - Y cordinate of the inside of the house
InsideZ - Z cordinate of the inside of the house
InsideID - Interior id of inside of the house
Cost - Cost of the house
returns - houseid

- SetHouseCar(houseid,modelid,FLoat,Float:y,FLoat: z,FLoat:r)
Info: Sets a house car which will be only usable by the owner and tenents of the house.
Parameters:
houseid - House id
x - x cordinate
y - y cordinate
z - z cordinate
r - angle of rotation
returns - none

- /info
Do /info inside a house, to get the information and
and details upon the house.

- /exit
Do /exit inside a house, to get out from that house.

- /rent
Do /rent inside a house to rent that house.
Do /rent <amount> inside a house to set the
rent of the house.

- /unrent
Do /unrent inside a houuse, to unrent that house.

- /buy
Do /buy inside a house to buy that house.

- /sell
Do /sell inside a house to sell that house.

- /withdraw
Do /withdraw inside a house to withdraw money
from that house bank.

[TESTED]-o Bizs

- SetBiz(iconid,Float:OutsideX,Float:OutsideY,Float: OutsideZ,Float:InsideX,FLoat:InsideY,Float:InsideZ ,Float:InsideID,Cost)
Info: Sets a pre-built biz with flexible and interactive features.
Parameters:
iconid - Pickup Model Id
OutsideX - X cordinate of the outside of the biz
OutsideY - Y cordinate of the outside of the biz
OutsideZ - Z cordinate of the outside of the biz
InsideX - X cordinate of the inside of the biz
InsideY - Y cordinate of the inside of the biz
InsideZ - Z cordinate of the inside of the biz
InsideID - Interior id of inside of the biz
Cost - Cost of the biz
returns - bizid
- /open
Do /open inside a biz to set it open for all.

- /close
Do /close inside a biz to set it close for all.

- /exit
Do /exit inside a biz to get out from the biz.

- /fee
Do /fee <amount> inside a biz, to set its
enterance fee.

- /info
Do /info inside a biz to get information
and details about that biz.

[TESTED]-o Checkpoints

- CreateCheckpoint(Float,Float:y,Float:z,Floatiz e)
Info: Creates a checkpoints at the specified position.
Parameters:
x - x cordinate
y - y cordinate
z - z cordinate
size - size of the checkpoint
returns - checkpointid

- DestroyCheckpoint(checkpointid)
Info: Destroys a pre-made checkpoint.
Parameters:
checkpointid - checkpoint id
returns - none

- ShowCheckpoint(playerid,checkpointid)
Info: Shows the checkpoint to certain player.
Parameters:
playerid - player id
checkpointid - checkpoint id
returns - none

- HideCheckpoint(playerid,checkpointid)
Info: Hides the checkpoint to certain player.
Parameters:
playerid - player id
checkpointid - checkpoint id
returns - none

- ShowCheckpointForAll(checkpointid)
Info: Shows checkpoint for all the players.
Parameters:
checkpointid - checkpoint id
returns - none

- HideCheckpointForAll(checkpointid)
Info: Hide checkpoint for all.
Parameters:
checkpointid - checkpoint id
returns - none

- Float:CheckpointToPlayerDistance(checkpointid,play erid)
Info: Gives the distance between a checkpoint and a player.
Parameters:
checkpointid - checkpoint id
playerid - player id
returns - distance

- GetPlayerClosestCheckpoint(playerid)
Info: Gives the closest checkpoint for the player.
Paramters:
playerid - player id
returns - checkpoint id


-o Gangs
- CreateGang(gang[],leader[])
Info: Creates a gang with the give name and leader.
Parameters:
gang[] - gang name
leader[] - leader name
returns - gang id

- MakeGangLeader(gang[],leader[])
Info: Sets a leader of certain gang.
Parameters:
gang[] - gang name
leader[] - leader name
returns - none

- KickGangLeader(gang[],leader[])
Info: Removes a leader of certain gang.
Parameters:
gang[] - gang name
leader[] - leader name
returns - none

- SetPlayerInGang(player[],gang[])
Info: Sets a certain player in a gang.
Parameters:
player[] - player name
gang[] - gang name
returns - none

- RemovePlayerForGang(player[])
Info: Removes a certain from his gang.
Parameters:
player[] - player name
returns - none

- IsPlayerInGang(player[],gang[])
Info: Verifies if a certain player is in a certain gang.
Parameters:
player[] - player name
gang[] - gang name
returns - 1 if yes
0 if no

- IsPlayerLeader(player[])
Info: Verifies if a certain player is leader of certain gang.
Parameters:
player[] - player name
gang[] - gang name
returns - 1 if yes
0 if no

- SendClientMessageToGang(gang[],color,message[])
Info: Sends a message to all the members of the gang.
Parameters:
gang[] - gang name
color - colour
message[] - message text
returns - none

-o Ammu Menu Builder
- EnableBlockAmmu(toggle)
Info: Blocks players from entering ammunation.
Parameters:
toggle - 1 if yes
0 if no
returns - none

- AddStaticAmmu(slot1,slot2,slot3,slot4,slot5,slot6, slot7)
Info: Creates a completely flexible ammunation menu.
Parameters:
slot1 - slot 1
slot2 - slot 2
slot3 - slot 3
slot4 - slot 4
slot5 - slot 5
slot6 - slot 6
slot7 - slot 7
returns - ammu id

- ShowAmmu(playerid,ammuid)
Info: Show a pre-set ammunation menu to a certain player
Paramters:
ammuid - ammu id
returns - none

- SetWeaponCost(ammuid,weaponid,cost)
Info: Sets costs of weapon in a certain ammu menu.
Parameters:
ammuid - ammu id
weaponid - weapon set id
cost - cost of weapon
returns - none


[TESTED]-o Gadgets
- Clock
- ToggleRealClock()
Info: Shows a clock with interactive real life setup.
Parameters:
returns - none

- Fuel
- GetVehicleFuel(vehicleid)
Info: Gives the fuel information of certain vehicle.
Parameters:
vehicleid - vehicle id
returns - fuel

- EnableFuelSystem(toggle)
Info: Turns a dynamic fuel system on/off.
Parameters:
toggle - 1 if on
0 if off
returns - none

- GiveFuel(playerid,vehicleid)
Info: Files a certain vehicle with fuel.
Paramters:
playerid - player id
vehicleid - vehicle id
returns - none

- UseFuel(playerid,vehicleid)
Info: Uses fuel of certain vehicle.
Paramters:
playerid - player id
vehicleid - vehicle id
returns - none
- /fill or /f
Do /fill or /f when u r in a fuel station to fill
your vehicle with fuel.

- Prison Doors in LSPD
- OpenPrison(door)
Info: Opens the prison(jail) doors of LSPD.
Parameters:
door - 1 if first gate
2 if second gate
returns - none

- ClosePrison(door)
Info: Closes the prison(jail) doors of LSPD.
Parameters:
door - 1 if first gate
2 if second gate
returns - none

[TESTED}-o Message Box
- Box:MessageBoxCreate(title[])
Info: Creates a message box which can be used as a hints/tips/warning message client.
Parameters:
title[] - title of the message box
returns - message box id

- AddMessageBoxLine(Box:MessageBoxID,text[])
Info: Adds a line to a pre-built message box.
Parameters:
MessageBoxID - message box id
text[] - text in that line
returns - none

- MessageBoxShowForPlayer(Box:MessageBoxID,playerid)
Info: Shows the message box to a certain player.
Parameters:
MessageBoxID - message box id
playerid - player id
returns - none
*/

# =[ Support ]=

- Questions
- Bugs
- Suggestions
- Reports
please reply at the forums.


# by Kapil
Reply
#43


I need this scrtipt.
i was trying callback but system is broken.
My Notes:


OnPlayerUseTransfender(playerid,amountspent)

working parallel to Casino. Not good.
(I think, problem is interiors)

OnPlayerUsePaynSpray(playerid,amountspent)

Didin't work from san fierro and other citys.

OnPlayerDrinkSprunk(playerid,amountspent)

Working good. Thanks.

OnPlayerUseCasino(playerid,amountspent)

i was trying biz system. But it's not good.
Example:
if can i play 100$ >> biz add +100$ (ok good.)
but can i escape (-100$) >> biz add +100$ (lol)
if you are win (+100$) >> biz ?? (not work. null action)

OnPlayerHackMoney(playerid,money)

Not functional. it's defective. Why ?
if you can money cheat working. (it was good.)
but you can money cheat from casino, it's working for casino and "system of a down" ( ) Broken bro...

Reply
#44

Quote:
Originally Posted by Steve Vai
OnPlayerUsePaynSpray(playerid,amountspent)

Didin't work from san fierro and other citys.
Is this function working for LS?Cause i was thinking something like
pawn Code:
OnPlayerUsePaynSpray(playerid,amountspent)
{
 if(amountspent == 0)//free payNspray hack
 {
 Ban(playerid);
 }
 return 1;
}
will this work?
Reply
#45

I need the crash thing to work, but ironicly, it crashes my pawno compiler.
Reply
#46

I've added KIHC, Struct and steam, and I've got a lot of warnings now. :S

Code:
SAMP\pawno\include\dini.inc(63) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dini.inc(102) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dini.inc(108) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dini.inc(112) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dini.inc(118) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dini.inc(122) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dini.inc(126) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dini.inc(132) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dini.inc(162) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dini.inc(184) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dudb.inc(111) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dudb.inc(117) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dudb.inc(123) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dudb.inc(129) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dudb.inc(136) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\pawno\include\dudb.inc(142) : warning 219: local variable "key" shadows a variable at a preceding level
SAMP\gamemodes\AccountSysteem.pwn(1783) : warning 219: local variable "name" shadows a variable at a preceding level
Reply
#47

,,
Reply
#48

Whats wrong there?

Code:
new cp1 = CreateCheckpoint(2131.4607,888.4666,10.9361, 1.0);
ShowCheckpointForPlayer(playerid, cp1);
The Checkpoint didnt show..
Reply
#49

What include i use to add it:

AddStaticAmmu(slot1,slot2,slot3,slot4,slot5,slot6, slot7);

struct
callback
steam
crash
Reply
#50

Part1
Code:
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\cps.inc(140) : warning 208: function with tag result used before definition, forcing reparse
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\callback.inc(104) : warning 209: function "OnPlayerDisconnect" should return a value
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\callback.inc(110) : warning 209: function "OnGameModeInit" should return a value
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\steam.inc(100) : warning 209: function "DestroyCheckpoint" should return a value
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\crash.inc(146) : warning 209: function "_GivePlayerMoney" should return a value
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\crash.inc(474) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney(%1)")
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\crash.inc(475) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney(%1)")
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\crash.inc(855) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit();")
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\crash.inc(860) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect(%1);")
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\cps.inc(45) : error 025: function heading differs from prototype
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\cps.inc(46) : error 021: symbol already defined: "CreateCheckpoint"
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\cps.inc(84) : error 025: function heading differs from prototype
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\cps.inc(85) : error 021: symbol already defined: "DestroyCheckpoint"
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\dutils.inc(381) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(223) : error 021: symbol already defined: "OnGameModeInit"
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(956) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(987) : error 021: symbol already defined: "OnPlayerDisconnect"
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1089) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1094) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1100) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1105) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1110) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1115) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1120) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1125) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1130) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1135) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1140) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1171) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1176) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1181) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1186) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1191) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1196) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1201) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1206) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1211) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1216) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1221) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1260) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1279) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1287) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1295) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1303) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1311) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1319) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1327) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1335) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1343) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1350) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(1358) : warning 202: number of arguments does not match definition
Reply
#51

this is from 2007
Reply
#52

wow thank you, i'll try to understand what's that xD
Reply
#53

They aren't shit, they work for me..
Reply
#54

So give a link for callback.inc...
Reply
#55

Please upload the files, I need them!
Reply
#56

Re-UPLOAD!!!
EDIT: This must be Back!
Reply
#57

Callback.inc: http://pastebin.com/ryhbfWE4
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)