[Req] LSPD Door to Garage -
Leko - 07.02.2012
Well, I scripted something but I havent succed!
Can anyone tell me how to script that damn door? Its when cops go to garage
AW: [Req] LSPD Door to Garage -
Tigerkiller - 07.02.2012
why you dont learn scripting first ? in the tutorials sections you can find it! and how you make an vip system
Re: [Req] LSPD Door to Garage -
Leko - 08.02.2012
Can anyone tell me how to give family slot IG, to someone?
Re : [Req] LSPD Door to Garage -
ricardo178 - 08.02.2012
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
Re: [Req] LSPD Door to Garage -
Leko - 08.02.2012
Ricardo - Thanks, I am beginer scripter, so I need help.! btw, Thanks :d
Re : Re: [Req] LSPD Door to Garage -
ricardo178 - 08.02.2012
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)
Re: [Req] LSPD Door to Garage -
-CaRRoT - 08.02.2012
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", cmdtext, true, 6) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, r, x,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", 5000, 1); // 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
Re: [Req] LSPD Door to Garage -
Leko - 09.02.2012
Thanks Breto, thats very helpful!
Re: [Req] LSPD Door to Garage -
Leko - 09.02.2012
one more thing, I got bored you guys!
How to give family slot to someone in my server?
Re: Re : [Req] LSPD Door to Garage -
MP2 - 09.02.2012
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!");
}