[REQ] INPUT FS INTO GM
#1

Hi, i want to input this FS: http://weirdosport.pastebin.com/feca7f63

into my GameMode, and make that the automatic gates will open only if Player "if(IsACop(playerid))".

my GM: http://solidfiles.com/d/Kx5P


[T]HANKS!T[H]ANKS!TH[A]NKS!THA[N]KS!THAN[K]S!THANK[S]!



EDIT: SORRY WRONG SECTION :[ ADMINS PLEASE MOVE IT TO SCRIPTING HELP!
Reply
#2

Its not hard.. just copy variables etc.
Reply
#3

but how could i make that the gates will open only for Policeman ?
Reply
#4

In that FS there is no command
Reply
#5

i found something, might be useful

Код:
 			if(OpenGate[tempgate] == 0/* && IsPlayerAdmin(pid) == 1*/) OpenGate[tempgate] = IsPlayerNearGate(pid, tempgate, TOLERANCE);
should i add there
Код:
&& PlayerInfo[playerid][pJob] ==
( WHERE FROM CAN I GET THE JOB ID? BECAUSE I DON'T KNOW! :[ )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)