Originally Posted by Sergio_team
Hi, today i mapped a map for my server, its a basic admin garage located in Las Venturas, enjoy the map.
Screens:
AMX-> http://www.mediafire.com/download.php?it1zm0znwhw
PWN-> http://www.mediafire.com/download.php?m0zqaney2mh
Commands:
Quote:
if (strcmp(cmd, "/admingarage", true) == 0)
{
new x_nr[256];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{
SendClientMessage(playerid, COLOR_WHITE, "|____ADMIN GARAGE LAS VENTURAS___________|");
SendClientMessage(playerid, COLOR_WHITE, "Use: /admingarage [command] ");
SendClientMessage(playerid, COLOR_WHITE, " open (Open the garage)");
SendClientMessage(playerid, COLOR_WHITE, " close (close the garage)");
SendClientMessage(playerid, COLOR_WHITE, "|____________________________________________ |");
return 1;
}
else if(strcmp(x_nr,"open",true) == 0)
{
MoveObject(gateadmin,2063.247,2437.530,-1.294, 3.5); // Abierta
}
else if(strcmp(x_nr,"close",true) == 0)
{
MoveObject(gateadmin,2063.247,2437.530,11.294,3.5) ;//Cerrada
}
}
|
The Commands are in spanish, in the FS, but take this "quote" translated to english
|