07.03.2009, 09:07
Replace what it says to replace in the comments...
Basic but should give you a brief idea of how to do it.
Stephen
Код:
#include <a_samp> public OnFilterScriptInit() { print("Filterscript Loaded..."); // This really isn't needed, you can change the text if you like. return 1; } public OnFilterScriptExit() { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/command", cmdtext) == 0) // Replace /command with the command name { SetPlayerPos(playerid,posx,posy,posz); // Replace posz, posy, and posz with the coordinates you want to use. return 1; } return 0; }
Stephen