Filterscript function to Gamemode?
#1

Heey all,
Is it possible to set a function from fs to gm.
Example:In my gm i have skills and i want to make terrorist skill who can blow up player houses.
I want to use Garhouse Filterscript and i only need this function:
Код:
if(checkpointid == HouseCPOut[0])
{
     SendClientMessage(playerid,COLOUR_GREEN,"Test!");
     return 1;
}
I cant copy the whole code from garhouse to my script because i get much errors.
Pls help me.

Thanks Admigo
Reply
#2

https://sampwiki.blast.hk/wiki/CallLocalFunction
https://sampwiki.blast.hk/wiki/CallRemoteFunction
Reply
#3

Can you give an example pls? I never used this function.
Reply
#4

pawn Код:
//from fs to gm
CallRemoteFunction("your_function", "i", playerid);
Read the wiki links, very helpfull.
Reply
#5

How can i get only this:HouseCPOut[0] from the fs to gm?
I only need to the checkpoint ids for the fs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)