#include <a_samp>
// Colors
#define COLOR_BLUE 0x0042F6AA
#define COLOR_DBLUE 0x00008DAA
#define COLOR_DRED 0xA50000AA
#define COLOR_WHITE 0xF6F6F6AA
#define COLOR_YELLOW 0xF6F600AA
#define COLOR_GREEN 0x00B900AA
#pragma tabsize 0
new MafiaGate1;
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Tshadow Mafia Gates by Tshadow");
print("--------------------------------------\n");
//---== Mafia Base Gates ==---
MafiaGate1 = CreateObject(971,2719.7878,-2404.4153,13.4609,0.0,0.0,-90.000);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2719.7878,-2404.4153,13.4609);
SetPlayerCameraPos(playerid, 2719.7878,-2404.4153,13.4609);
SetPlayerCameraLookAt(playerid, 2719.7878,-2404.4153,13.4609);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/amp", cmdtext, true) == 0)
{
MoveObject(MafiaGate1, 2720.4475,-2405.2192,20.4609, 5);
SendClientMessage(playerid, COLOR_BLUE, "Portгo Aberto!");
return 1;
}
if (strcmp("/fmp", cmdtext, true) == 0)
{
MoveObject(MafiaGate1, 2720.4475,-2405.2192,15.4609, 5);
SendClientMessage(playerid, COLOR_DBLUE, "Portгo Fechado!");
return 1;
}
return 0;
}
Originally Posted by tshadow
Nгo utilizei aquele sistema de /save
|
Originally Posted by tshadow
Desculpa й que como ninguйm responde e й uma nova duvida, se mudar, nгo aparece lб fora (new)
|