Quote:
Originally Posted by Mean
Delete the return 1; on the first if not else if
The_Moddler's code should work
|
ok ill try this 2 examples when I come home(2 hours of fce english lessons 2 hours after school -.- didnt want to go home so came to dads office

)-->
Quote:
Originally Posted by The_Moddler
pawn Code:
if(!strcmp(cmdtext, "/enter", true)) { if(IsPlayerInRangeOfPoint(playerid, 5.0, 2207.5254, -1100.4119, 31.5547)) { SetPlayerPos(playerid, 2209.3159,-1106.1302,14.9276); SetPlayerFacingAngle(playerid, 68.2839); SetCameraBehindPlayer(playerid); SetPlayerInterior(playerid, 10); } else if(IsPlayerInRangeOfPoint(playerid, 5.0, 1412.0670,-1699.9690,13.5395)) { SetPlayerPos(playerid, 1417.3789,-989.1111,1639.7843); SetPlayerFacingAngle(playerid, 269.2184); SetCameraBehindPlayer(playerid); SetPlayerInterior(playerid, 10); } return 1; }
It works fine for me.
|
ty Ill try that btw why !strcmp??
Quote:
Originally Posted by ColdXX
Well the try this
pawn Code:
if(strcmp( cmdtext,"/enter", true) ==0)//////////////////////////////////////// { if(IsPlayerInRangeOfPoint(playerid, 5.0, 2207.5254,-1100.4119,31.5547))//--House00000--- { SetPlayerPos(playerid, 2209.3159,-1106.1302,14.9276); SetPlayerFacingAngle(playerid, 68.2839); SetCameraBehindPlayer(playerid); SetPlayerInterior(playerid, 10); } return 1; }//-------------------------------------------------------------------------------- if(strcmp( cmdtext,"/enter", true) ==0) { if(IsPlayerInRangeOfPoint(playerid, 5.0, 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; } }//-------------------------------------------------------------------------------- return 0; }
|
Ill try that too

ty guys hope 1 will work cuz this is already annoying