04.02.2009, 20:17
Hello!
Well I am new to scripting and i made a teleport there is the script
And it worked in the begining but now it has just stopped another thing is i cant add admin house scripts. My server thing says it loaded the script but the houses are never there. What is going wrong? I am using v-admin and LSPD gates
Well I am new to scripting and i made a teleport there is the script
pawn Code:
//Teleports
if(!strcmp(cmdtext, "/lspd", true)==0)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), 1539.2361,-1690.5590,13.5469);
}
else
{
SetPlayerPos(playerid, 1547.6527,-1675.9519,14.1797);
}
SendClientMessage(playerid, 0x000000FF, "You have travelled to LSPD.");
return 1;
}
//End Teleports
if(strcmp(cmdtext,"/pd",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(vehicleid,0);
SetPlayerInterior(playerid,0) ;
return SetVehiclePos(vehicleid,1539.2361,-1690.5590,13.5469);
}
SetPlayerPos(playerid,1547.6527,-1675.9519,14.1797);
SetPlayerInterior(playerid,0);
return 1;
}

