[FilterScript] FS:Gates - Dynamic Movable Gates System
#21

Okay thank you
when you solve the problem send me a privte message or type here
Reply
#22

Quote:
Originally Posted by ParadiseRP
View Post
Why i can create only one gate

when i try to make antoher one its says

"you already created dynamic gate"

help me please
pawn Code:
CMD:placegate( playerid, params[] )
{

        if( isnull( params) )

            return SendClientMessage( playerid, -1, "Syntax: /placegate [password]" );

           

        if( !strval( params ) )

            return SendClientMessage( playerid, -1, "You need to input numbers." );

           

        if( IsPlayerInAnyVehicle( playerid ) )

            return SendClientMessage( playerid, -1, "You need to exit your vehicle." );

 
        // if you want to place more than 1 gate per player comment this code
        /*new szName[24];

        GetPlayerName( playerid, szName, 24 );

        for( new i = 0; i != MAX_GATES; i++ )

                if( GateInfo[i][gCreated] == 1 )

                        if( !strcmp( szName, GateInfo[i][gPlacedBy], true ) )

                            return SendClientMessage( playerid, -1, "You already placed a movable gate." );

                        else

                            continue;*/


 

        new Float:pPos[4];

        GetPlayerPos( playerid, pPos[0], pPos[1], pPos[2] );

        GetPlayerFacingAngle( playerid, pPos[3] );

        CreateGate( playerid, strval( params ), pPos[0], pPos[1], pPos[2], pPos[3] );

        SendClientMessage( playerid, -1, "You succesfully created a movable gate. Use /gopen or /gclose." );

 

        return 1;

}
Reply
#23

Scriptfiles you mean?
Reply
#24

hey whats this error?

C:\Documents and Settings\Mehdi\Desktop\Algerian-Trucking\filterscripts\gate.pwn(3) : fatal error 100: cannot read from file: "Dini"


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase



1 Error.
Reply
#25

Quote:
Originally Posted by AndreSAMP
View Post
Scriptfiles you mean?
No, the code in the post.


@Geeboi_mehdi you need to place Dini.inc in pawno/includes.
Reply
#26

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(6 : error 017: undefined symbol "IsObjectMoving"

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(75) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(86) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(110) : error 017: undefined symbol "IsObjectMoving"

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(117) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(12 : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(152) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(161) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(21 : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(253) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(280) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(283) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(285) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(290) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(304) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(309) : warning 217: loose indentation

C:\Users\user\Desktop\Famous\filterscripts\GATE.pw n(31 : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase



2 Errors.

Help hunny.
Reply
#27

Update your includes & check this thread out (https://sampforum.blast.hk/showthread.php?tid=256961).
Reply
#28

Good work, 10/10
Reply
#29

Quote:
Originally Posted by Marricio
View Post
Update your includes & check this thread out (https://sampforum.blast.hk/showthread.php?tid=256961).
They are all up to date. <3
Reply
#30

Wait, Does this only work on 0.3d R2?
Reply
#31

Follow these steps and will work 100 %

First : Download this file
http://www.mediafire.com/?viblg6pm8gcpe39

This is samp03dsvr_R2_win32 0.d

Extract the file and download Dini , ZMD from this link
http://www.mediafire.com/?44sfytohpaddq1r

And extract the file , copy Folder include and past in Folder samp03dsvr_R2 into Pawno/include

Second : copy all pawno code for filterscript FS:GATE then compile

This will work 100 %

If you dont want to tire yourself download file FSGATE from this link PWN/AMX
http://www.mediafire.com/?48j8a1ba72c51zx
Reply
#32

What\'s the unlock code? <3
Reply
#33

Ok sry , now i fixed link
Reply
#34

OMFG It finally works! Man I would fuck you irl. <3
Reply
#35

Well i guess but i\'d recommend you to update your client & script to latest version (0.3e) and the unlock code would be the one that you placed when you created the gate.
Reply
#36

C:\Documents and Settings\Mehdi\Desktop\Algerian-Trucking\filterscripts\Gates.pwn(3) : fatal error 100: cannot read from file: "Dini"


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase



1 Error.
Reply
#37

Quote:
Originally Posted by Geeboi_Mehdi
View Post
C:\Documents and Settings\Mehdi\Desktop\Algerian-Trucking\filterscripts\Gates.pwn(3) : fatal error 100: cannot read from file: "Dini"


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase



1 Error.
Download the Dini Include

here:
http://dracoblue.net/download/dini-16/35/
Reply
#38

I\'m Succes when Compile, But the Filterscript didn\'t Show up at sa-mp server
Reply
#39

Quote:
Originally Posted by se7evolution
Посмотреть сообщение
what do i need to do now?
Код:
C:\Users\WGSoshiPacoIU\Desktop\Trucking\filterscripts\Gates.pwn(68) : error 017: undefined symbol "IsObjectMoving"
C:\Users\WGSoshiPacoIU\Desktop\Trucking\filterscripts\Gates.pwn(110) : error 017: undefined symbol "IsObjectMoving"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
You Tried To Define Them?

PHP код:
 #define IsObjectMoving 
?
Reply
#40

My server dies when I write /place password


Had problem before because when I copied the script it got much of

loseidention or what it's named if fixed some of them and then used #pragma tabsize 0

Do you think it's because of that..

Anyway seems like a awesome script..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)