sziasztok
Nekem kellene egy script, de olyan hogy teleportok legyenek benne és még egy menü.
remélem érthetõen írtam le.
igy képzele pl: a menünél: /tele és kiadja a teleportokat
a teleknél pedig: /sf /lv es ide teléz minket elõre is köszönöm!
és a teleportoknak a parancsuk az legyen ami a /save parancsal elmentetem és utána irtam!
a menü parancsa /menu legyen!
ebbõl kellene teleport scriptett készíteni:
AddPlayerClass(115,-1991.1519,205.9860,27.6799,70.7976,0,0,0,0,0,0); // sf
AddPlayerClass(115,-2673.2063,218.0117,4.1797,95.6009,0,0,0,0,0,0); // sf-tuning
AddPlayerClass(115,2495.5994,-1671.2352,13.3359,90.3467,0,0,0,0,0,0); // cj
AddPlayerClass(115,1668.5309,-1050.6886,23.8984,240.9103,0,0,0,0,0,0); // ls
AddPlayerClass(115,2321.1252,1403.5291,42.8203,333.3445,0,0,0,0,0,0); // lv
AddPlayerClass(115,2123.9705,-2568.8975,13.5469,106.8023,0,0,0,0,0,0); // ls-air
AddPlayerClass(115,-1682.1035,-187.1003,14.1440,318.9310,0,0,0,0,0,0); // sf-air
AddPlayerClass(115,383.1984,2539.2305,16.5391,82.0955,0,0,0,0,0,0); // sivatag
AddPlayerClass(115,297.2578,1973.3584,17.6406,215.5768,0,0,0,0,0,0); // aera51
AddPlayerClass(115,-2680.0889,1252.9790,55.6161,14.7516,0,0,0,0,0,0); // verseny
AddPlayerClass(115,-338.5414,1523.5647,75.3594,269.8073,0,0,0,0,0,0); // drift
AddPlayerClass(115,-2508.8948,-618.4034,132.5625,348.4547,0,0,0,0,0,0); // drift2
AddPlayerClass(115,-2316.5195,-1636.7877,483.7031,314.9277,0,0,0,0,0,0); // chilliad
AddPlayerClass(115,-2043.2540,-120.3699,35.2224,77.3777,0,0,0,0,0,0); // derby
AddPlayerClass(115,-2624.6609,1390.4835,7.1016,334.9402,0,0,0,0,0,0); // jizzy
Hát ez gatyaszaggató. :D
if(strcmp(cmdtext, \"/lv\", true) == 0)
if (IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(GetPlayerVehicleID(playerid),2086.2725,1451.7513,10.8203);
SendClientMessage(playerid, 0xFFFF00AA, \"Üdv Las Venturas-ban!\");
} else {
SetPlayerPos(playerid,2086.2725,1451.7513,10.8203);
SendClientMessage(playerid, 0xFFFF00AA, \"Üdv Las Venturas-ban!\");
return 1;
}
Eszerint csináld,
és
public OnPlayerCommandText(playerid, cmdtext[])
{
public OnPlayerCommandText(playerid, cmdtext[])
{
public OnPlayerCommandText(playerid, cmdtext[])
{
public OnPlayerCommandText(playerid, cmdtext[])
{
public OnPlayerCommandText(playerid, cmdtext[])
{
public OnPlayerCommandText(playerid, cmdtext[])
{
public OnPlayerCommandText(playerid, cmdtext[])
{
public OnPlayerCommandText(playerid, cmdtext[])
{
public OnPlayerCommandText(playerid, cmdtext[])
{
public OnPlayerCommandText(playerid, cmdtext[])
{