02.07.2011, 12:46
Images: http://imageshack.us/g/221/samp000scpigh.png/
Pawn Code
Teleport
Pawn Code
pawn Код:
CreateObject(18769, 330.59, 1996.58, 570.00, 0.00, 0.00, 0.00);
CreateObject(18769, 350.35, 1996.61, 570.00, 0.00, 0.00, 0.00);
CreateObject(987, 359.91, 1986.36, 570.60, 0.00, 0.00, 91.00);
CreateObject(987, 359.69, 1995.39, 570.60, 0.00, 0.00, 91.00);
CreateObject(19070, 340.30, 1957.60, 564.90, 0.00, 0.00, 0.00);
CreateObject(987, 321.05, 1987.28, 570.60, 0.00, 0.00, 91.00);
CreateObject(987, 321.01, 1994.38, 570.60, 0.00, 0.00, 91.00);
CreateObject(987, 347.83, 2006.29, 570.60, 0.00, 0.00, 0.00);
CreateObject(987, 335.91, 2006.28, 570.60, 0.00, 0.00, 0.00);
CreateObject(987, 323.97, 2006.25, 570.60, 0.00, 0.00, 0.00);
CreateObject(987, 320.95, 2006.26, 570.60, 0.00, 0.00, 0.00);
CreateObject(19071, 340.28, 1900.30, 560.00, 0.00, 0.00, 0.00);
CreateObject(19070, 340.28, 1840.84, 554.74, 0.00, 0.00, 0.00);
CreateObject(19071, 340.24, 1783.81, 550.00, 0.00, 0.00, 0.00);
CreateObject(19070, 340.26, 1725.04, 544.74, 0.00, 0.00, 0.00);
CreateObject(19071, 340.17, 1678.83, 534.00, 18.00, 0.00, 0.00);
CreateObject(19071, 340.15, 1647.85, 524.00, 18.00, 0.00, 0.00);
CreateObject(19071, 340.19, 1616.55, 514.00, 18.00, 0.00, 0.00);
CreateObject(18778, 328.91, 1590.83, 508.00, 0.00, 0.00, -181.00);
CreateObject(18778, 344.46, 1590.57, 508.00, 0.00, 0.00, -181.00);
CreateObject(18778, 352.45, 1590.37, 508.00, 0.00, 0.00, -181.00);
CreateObject(18778, 352.31, 1584.81, 511.00, 14.00, 0.00, -181.00);
CreateObject(18778, 336.68, 1585.17, 511.00, 14.00, 0.00, -181.00);
CreateObject(18778, 328.88, 1585.15, 511.00, 14.00, 0.00, -181.00);
pawn Код:
if(strcmp(cmdtext,"/waterjump",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"~r~WELCOME ~b~ TO ~g~ WATERJUMP ",4000,6);
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "TELE: %s has gone to Waterjump(/Waterjump)", pName);
SendClientMessageToAll(COLOR_YELLOW, string);
return SetVehiclePos(vehicleid,346.0445, 1996.1094, 573.0000);
}
SetPlayerPos(playerid,335.9466, 1992.4137, 573.0000);
GameTextForPlayer(playerid,"~r~WELCOME ~b~ TO ~g~ WATERJUMP ",4000,6);
format(string, sizeof(string), "TELE: %s has gone to Waterjump(/Waterjump)", pName);
SendClientMessageToAll(COLOR_YELLOW, string);
return 1;
}