[Req] LSPD Door to Garage
#1

Well, I scripted something but I havent succed!
Can anyone tell me how to script that damn door? Its when cops go to garage
Reply
#2

why you dont learn scripting first ? in the tutorials sections you can find it! and how you make an vip system
Reply
#3

Can anyone tell me how to give family slot IG, to someone?
Reply
#4

Man... All scripts are differents.
Scripting a gate is the easiest thing in pawn.
Maybe time to read:

https://sampwiki.blast.hk/
http://forum.sa-mp.com/forumdisplay.php?f=70
Reply
#5

Ricardo - Thanks, I am beginer scripter, so I need help.! btw, Thanks :d
Reply
#6

Quote:
Originally Posted by Leko
Посмотреть сообщение
Ricardo - Thanks, I am beginer scripter, so I need help.! btw, Thanks :d
No problem.. Almost all of us learnt like that. Reading tutorials and wiki.
You have to know the basic things.. Otherway is the same as making a cockie, without know how to proply open an egg.(I know, stupid example)
Reply
#7

To Make that you can Enter / Exit from an LSPD Garage or ANY place , Here you go :


I Use STRCMP btw..

PHP код:
if (strcmp("/enter"cmdtexttrue6) == 0)
{
if(
IsPlayerInRangeOfPoint(playeridrx,y,z)) // Change the X Y Z to TheCo-ordinates where you type /enter and R to the Range
             
{
            
SetPlayerPos(playerid,x,y,z); // Change the X Y Z to the place where you get TP'ed to
            
SetPlayerInterior(playerid,No,); // Change No, to the Interior ID you want
            
GameTextForPlayer(playerid"~w~PD"50001); // Change PD to the place where he get Tp'ed to name
            
SetCameraBehindPlayer(playerid);
              return 
1;
                        } 
And do the same With the /Exit CMD but Reverse the Co-ordinates of IsPlayerInRangeOfPoint and SetPlayerPos - Hope i helped
Reply
#8

Thanks Breto, thats very helpful!
Reply
#9

one more thing, I got bored you guys!
How to give family slot to someone in my server?
Reply
#10

Quote:
Originally Posted by ricardo178
Посмотреть сообщение
Man... All scripts are differents.
Scripting a gate is the easiest thing in pawn.
Lies.

pawn Код:
#include <a_samp>

main()
{
    print("Hello World!");
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)