29.03.2011, 19:55
How do i make this work ? also how do i get it to say "%playername% has passed through the door".
Also it says unknown command when i do it ig but it still puts me in the position when i had it working.
Also it says unknown command when i do it ig but it still puts me in the position when i had it working.
pawn Код:
#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
if(IsPlayerInRangeOfPoint(playerid, 3.0, 1060.0122,1310.9846,10.8203,95.8134))
if(!strcmp(cmdtext, "/pass", true))
{
SetPlayerPos(playerid,1055.8455,1310.4878,10.8961,268.9397);
}
if(IsPlayerInRangeOfPoint(playerid, 3.0,1055.8455,1310.4878,10.8961,268.9397))
if(!strcmp(cmdtext, "/pass", true))
{
SetPlayerPos(playerid,1060.0122,1310.9846,10.8203,95.8134);
}
public OnFilterScriptExit()
{
return 1;
}
#endif