13.11.2010, 08:27
[QUOTE=Buzzbomb;908495]Well its called reversal Engineering OK Copy the Enter Command I made Paste it under the 3rd Closing Bracket after Enter... But nevermind i made it for you and another dont be a smart ass man.. period Did you not see the post i made it works i tried and added a gotobank and gotohouse
yea lol I forgot :P i dont want to make exit commands until enter doesnt work... so here is the video of my fail:
[ame]http://www.youtube.com/watch?v=-Oqhf106YtI[/ame]
yea lol I forgot :P i dont want to make exit commands until enter doesnt work... so here is the video of my fail:
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp( cmdtext,"/enter", true) ==0)////////////////////////////////////////
{
if(IsPlayerInRangeOfPoint(playerid, 5, 2207.5254,-1100.4119,31.5547))//--House00000---
{
SetPlayerPos(playerid, 2209.3159,-1106.1302,14.9276);
SetPlayerFacingAngle(playerid, 68.2839);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, 10);
}//--------------------------------------------------------------------------------
else if(IsPlayerInRangeOfPoint(playerid, 5, 1412.0670,-1699.9690,13.5395))//--Bank001---
{
SetPlayerPos(playerid, 1417.3789,-989.1111,1639.7843);
SetPlayerFacingAngle(playerid, 269.2184);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, 10);
}
return 1;
}
if(strcmp("/gotobank",cmdtext, true) == 0)
{
if(IsPlayerConnected(playerid))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1412.0670,-1699.9690,13.5395);
}
return 1;
} if(strcmp("/gotohouse",cmdtext, true) == 0)
{
if(IsPlayerConnected(playerid))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 2207.5254,-1100.4119,31.5547);
}
return 1;
}//--------------------------------------------------------------------------------
return 0;
}