giovedì 23 febbraio 2012

Drift Mod Maps SA-MP Teleports

These are just teleports for your sa-mp server xD, i will post more!


Castleroad:

if(strcmp(cmdtext,"/castleroad",true)==0) //
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(vehicleid,0);
SetPlayerInterior(playerid,0);
SetVehiclePos(vehicleid,412.1734,-2117.5598,65.5035);
SetVehicleZAngle(vehicleid, 291.0);
}
SetPlayerPos(playerid,412.1734,-2117.5598,65.5035);
SetPlayerInterior(playerid,0);
PutPlayerInVehicle(playerid,vehicleid,0);
return 1;
}



Sakina:

if(strcmp(cmdtext,"/sakina",true)==0) //
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(vehicleid,0);
SetPlayerInterior(playerid,0);
SetVehiclePos(vehicleid,-15.7304,-2431.6780,323.7769);
SetVehicleZAngle(vehicleid, 234);
}
SetPlayerPos(playerid,-15.7304,-2431.6780,323.7769);
SetPlayerInterior(playerid,0);
PutPlayerInVehicle(playerid,vehicleid,0);
return 1;
}



Okaru:

if(strcmp(cmdtext,"/okaru",true)==0) //
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(vehicleid,0);
SetPlayerInterior(playerid,0);
SetVehiclePos(vehicleid,-1488.9664,1229.4635,304.2853);
SetVehicleZAngle(vehicleid, 120);
}
SetPlayerPos(playerid,-1488.9664,1229.4635,304.2853);
SetPlayerInterior(playerid,0);
PutPlayerInVehicle(playerid,vehicleid,0);
return 1;
}


ElSantos.