12.01.2012, 12:58
pawn Код:
public OnGameModeInIt()
{
// 12 is random Object. What is the DDEPOT?
CreateObject(12, 1950.0921630859, -1879.7592773438, 13.479251861572, 0.0, 0.0, 96.0); // Make sure the X, Y, Z aren't the same.
return 1;
}
pawn Код:
if(strcmp("/ddgate", cmdtext, true, 7) == 0)
{
MoveDynamicObject(12, 1895.0921630859, -1879.7592773438, 13.479251861572, 2.0); // objectid
SendClientMessage(playerid, COLOR_YELLOW, "Drug Depot Gate has Been opened.");
return 1;
}