Wie kann man, wenn man sich Teleportiert, also wenn man in Auto drin ist, zum teleport ort mit teleportieren???
Hier wollte ich es einfügen:
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Jump Map by gtaturke54");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Jump Map by gtaturke54");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
CreateObject(8390, 1744.9, -2920.53, 242.547, 0, 0, 0);
CreateObject(16357, 1748.73, -2772.24, 222.898, 0, 0, 90);
CreateObject(16357, 1748.73, -2645.74, 158.498, 0, 54, 90);
CreateObject(1655, 1752.4, -2595.07, 94.998, 0, 0, 0);
CreateObject(1655, 1745.01, -2595.07, 94.998, 0, 0, 0);
CreateObject(1655, 1745.01, -2589.67, 98.398, 20, 0, 0);
CreateObject(1655, 1752.4, -2589.67, 98.398, 20, 0 , 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/bj", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1761.7281, -2948.1619, 256.2423);
SendClientMessage(playerid, 0x00FF00FF, "Teleported to BJ");
return 1;
}
return 0;
}