SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Includes (https://forum.sa-mp.com/forumdisplay.php?f=83)
-   -   [Include] [ MIC ] - [ Make It Comfortable ] - [ Redefined ] (https://forum.sa-mp.com/showthread.php?t=12909)

Kapil 20/09/2007 12:56 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
Quote:

Originally Posted by Warriors_Tornado
can i make binzes with it?
and how?
is there commands

AddStaticBiz(Float:x,Float:y,Float:z,Float:ix,Floa t:iy,Float:iz,ii);

wiki ! can help u more about the parameters !

EDIT: Please note the WIKI page has been edited and changed now, this is the link for the new WIKI

Warriors_Tornado 20/09/2007 02:02 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
but why in your script are ini files only
when i wil put in server and go in there wil some comands??

and about that biznes
i understand that where i want bines i go press/save get x,y,z and ad add static biz and thats all
i want that others can buy and earn money. they go to to the biznes house enters in cp and press withdraw or other comand

Kapil 20/09/2007 02:31 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
Quote:

but why in your script are ini files only
this isnt a gamemode or filterscript it is includes

Ok guys, the main post have been updated, pliz have a look over it.

steven 20/09/2007 02:45 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(54) : error 017: undefined symbol "MAX_PLAYERS"
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(54) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(105) : error 017: undefined symbol "SetPlayerCheckpoint"
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(105) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(105) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(105) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(105) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(105) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(105) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(105) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(105) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.

i canad it not make sorry

IJzerenRita 20/09/2007 02:50 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
#include it after the #include <a_samp> stuff.

steven 20/09/2007 02:56 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
Quote:

Originally Posted by IJzerenRita
#include it after the #include <a_samp> stuff.

ok i hafe it done!


C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(447) : error 004: function "onplayerselectedmenurow" is not implemented
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(717) : error 004: function "onplayerpickuppickup" is not implemented
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(757) : error 004: function "onplayerexitedmenu" is not implemented
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(1022) : warning 209: function "SavePlayer" should return a value
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(1187) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(1187) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\Bureaublad\server ran\server\pawno\include\MIC.inc(1187) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(264) : error 025: function heading differs from prototype
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(264) : error 025: function heading differs from prototype
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(265) : error 025: function heading differs from prototype
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(265) : error 025: function heading differs from prototype
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(6506) : error 021: symbol already defined: "LoadProperty"
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(6799) : warning 202: number of arguments does not match definition
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(6799) : warning 202: number of arguments does not match definition
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(6799) : warning 202: number of arguments does not match definition
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(7767) : error 025: function heading differs from prototype
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(7767) : error 025: function heading differs from prototype
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(7768) : error 021: symbol already defined: "LoadPlayer"
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(7823) : error 025: function heading differs from prototype
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(7823) : error 025: function heading differs from prototype
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(7824) : error 021: symbol already defined: "SavePlayer"
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(15889) : warning 202: number of arguments does not match definition
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(15889) : warning 202: number of arguments does not match definition
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(15889) : warning 202: number of arguments does not match definition
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(16128) : warning 219: local variable "time" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(18360) : warning 202: number of arguments does not match definition
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(18373) : warning 202: number of arguments does not match definition
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(18393) : warning 202: number of arguments does not match definition
C:\DOCUME~1\ADMINI~1\BUREAU~1\SERVER~1\server\GAME MO~1\penls.PWN(18411) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


14 Errors.

Warriors_Tornado 20/09/2007 02:57 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
how can includes help me??

Kapil 20/09/2007 03:10 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
Quote:

14 Errors
welll try opening a new .pwn and include MIC and check whether those errors still retain.

Quote:

how can includes help me??
read the main post, it has the answer for your question.

Pentel 20/09/2007 03:30 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
Without #include <MIC> my script compiles without errors or warnings, after it im getting loads of warnings and 3 errors.

pawn Code:
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\MIC.inc(447) : error 004: function "onplayerselectedmenurow" is not implemented
C:\DOCUME~1\Melvin\BUREAU~1\CLAIVE~1\GAMEMO~1\Claiver.pwn(2014) : error 021: symbol already defined: "LoadPlayer"
C:\DOCUME~1\Melvin\BUREAU~1\CLAIVE~1\GAMEMO~1\Claiver.pwn(2037) : warning 209: function "LoadPlayer" should return a value
C:\DOCUME~1\Melvin\BUREAU~1\CLAIVE~1\GAMEMO~1\Claiver.pwn(2040) : error 021: symbol already defined: "SavePlayer"
C:\DOCUME~1\Melvin\BUREAU~1\CLAIVE~1\GAMEMO~1\Claiver.pwn(2488) : warning 202: number of arguments does not match definition
C:\DOCUME~1\Melvin\BUREAU~1\CLAIVE~1\GAMEMO~1\Claiver.pwn(2488) : warning 202: number of arguments does not match definition
C:\DOCUME~1\Melvin\BUREAU~1\CLAIVE~1\GAMEMO~1\Claiver.pwn(2559) : warning 202: number of arguments does not match definition
C:\DOCUME~1\Melvin\BUREAU~1\CLAIVE~1\GAMEMO~1\Claiver.pwn(2559) : warning 202: number of arguments does not match definition
... MORE AND MORE "number of arguments does not match definition"

What should I do?
When compiling a new script (pressing NEW):
pawn Code:
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\YSI/Visual/YSI_pickups.own(252) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\YSI/Visual/YSI_pickups.own(349) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\YSI/Gamemode/YSI_properties.own(768) : warning 235: public function lacks forward declaration (symbol "Property_OnPlayerEnterArea")
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\YSI/Gamemode/YSI_properties.own(901) : warning 235: public function lacks forward declaration (symbol "Property_OnPlayerEnterCP")
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\YSI/Gamemode/YSI_properties.own(1741) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\YSI/Gamemode/YSI_properties.own(1750) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\YSI/Gamemode/YSI_classes.own(363) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\mic.inc(112) : error 021: symbol already defined: "OnGameModeInit"
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\mic.inc(173) : error 004: function "ongamemodeinit" is not implemented
C:\Documents and Settings\Melvin\Bureaublad\SAMP 2.0 SOH\pawno\include\mic.inc(174) : warning 209: function "OnGameModeInit" should return a value
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

polgast 20/09/2007 03:50 PM

Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA
 
Ok so i studied youre work and its amazing! But just a tiny problem i cant figure out how to get these Float:ix,Float:iy,Float:iz,ii can you get these from just debugin and writing /save or do you have to get then an other way?


All times are GMT. The time now is 10:41 AM.

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