25.06.2012, 13:23
Quote:
#include <a_samp> #include <streamer> new maing; #define Admin 0xFF0000FF public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Multiple Gates "); print("--------------------------------------\n"); maing = CreateDynamicObject(2938, 1100.59, 2293.79, 11.51, 0.00, 0.00, 0.00);//Main Gate For The Car Create3DTextLabel("Server Founder Only",Admin ,0.35, 3.50, -1.43, 40.0, 0, 0); // info label return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/fo", cmdtext, true, 10) == 0) { MoveDynamicObject(maing, 1100.59, 2293.79, 7.29, 0.00, 0.00, 0.00); GameTextForPlayer(playerid, "~g~Founders Gate Opening~n~Browsing", 4000, 5); return 1; } if (strcmp("/fc", cmdtext, true, 10) == 0) { MoveDynamicObject(maing, 1100.59, 2293.79, 11.51, 0.00, 0.00, 0.00); GameTextForPlayer(playerid, "~g~Founders Gate Opening~n~Leaving", 4000, 5); return 1; } if (strcmp("/ft", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,1097.90, 2293.19, 10.63); SetPlayerInterior(playerid,0); GameTextForPlayer(playerid, "~g~Teleporting.", 4000, 5); return 1; } return 0; } |