How to create a onplayerconnect filterscript
#6

pawn Код:
#include <a_samp>

#define COLOR_GREEN 0x33AA33AA

#define FILTERSCRIPT

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" ANNOUNCE Filterscript by Rockers");
print("--------------------------------------\n");
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to our server plz type /register or /login.");
return 1;
}
Try this.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)