17.08.2010, 10:59
pawn Код:
// teleport v 1.2
#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" TELEPORT Version 1.2 - Made by JonnyBoy");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" TELEPORT V 1.2 - By JonnyBoy");
print("----------------------------------\n");
}
#endif
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext,"/sf",true)) {
SetPlayerPos(playerid, -1448,325, -325,1149, 15);
SetPlayerAngle(playerid, 0);
return 1;
}
if(!strcmp(cmdtext,"/lv",true)) {
SetPlayerPos(playerid, 1677,544, 1426,837, 15);
SetPlayerAngle(playerid, 0);
return 1;
}
if(!strcmp(cmdtext,"/ls",true)) {
SetPlayerPos(playerid, 1546,908, -2313,5, 15);
SetPlayerAngle(playerid, 0);
return 1;
}
return 0;
}