Commands:
/view - To teleport on map location.
Code
/*
MAP COWS
Made By: Plugy 2010
Information:
This map has been created by Plugy.
This map has been created for Fun.
Don't remove credits.
*/
////////////////////////////////////////////////////////////////////////////////
#include <a_samp>
////////////////////////////////////////////////////////////////////////////////
#pragma tabsize 0
////////////////////////////////////////////////////////////////////////////////
#define COLOR_BLUE 0x0000FF00
////////////////////////////////////////////////////////////////////////////////
public OnGameModeInit()
{
CreateObject(16442, 2093.3137, 2191.7227, 17.2750, 0.0000, 0.0000, 222.0000);
CreateObject(16442, 2095.1538, 2193.1104, 18.3078, 358.6108, 313.9825, 220.5564);
return 1;
}
////////////////////////////////////////////////////////////////////////////////
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" MAP COWS - by Plugy. ");
print("--------------------------------------\n");
SendClientMessageToAll(COLOR_BLUE, "Use command /view to see the map.");
return 1;
}
////////////////////////////////////////////////////////////////////////////////
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/view", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 2099.7351,2188.2058,16.3711);
SendClientMessage(playerid, COLOR_BLUE, "You just got Teleported to LV COWS Map!");
return 1;
}
return 0;
}
////////////////////////////////////////////////////////////////////////////////
//===================================
//Credits to Plugy, 2010!
//===================================