/pass cmd setting player position
#1

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.

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
Reply


Messages In This Thread
/pass cmd setting player position - by Jack- - 29.03.2011, 19:55
Re: /pass cmd setting player position - by antonio112 - 29.03.2011, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)