PlayerToPoint
#1

Hi,
I've made something like this:

pawn Код:
if(!strcmp("/Enter", cmdtext, true) && PlayerToPoint(1.5 ,playerid, Float: -691.5717,Float: 939.6139,Float: 13.6328))
   {
     SetPlayerInterior(playerid, 1);
     SetPlayerPos(playerid,Float: -2158.72 ,Float:   641.29 ,Float: 1052.38);
     return 1;
   }
That should go under OnPlayerCommandText, but I made a small change and deleted (!strcmp("/Enter", cmdtext, true)

pawn Код:
if(PlayerToPoint(1.5 ,playerid, Float: -691.5717,Float: 939.6139,Float: 13.6328))
   {
     SetPlayerInterior(playerid, 1);
     SetPlayerPos(playerid,Float: -2158.72 ,Float:   641.29 ,Float: 1052.38);
     return 1;
   }
Where should I put the new code?

Regards
Born2die
Reply


Messages In This Thread
PlayerToPoint - by Born2die - 01.03.2009, 18:29
Re: PlayerToPoint - by MenaceX^ - 01.03.2009, 20:02
Re: PlayerToPoint - by 1337pr0 - 01.03.2009, 20:05
Re: PlayerToPoint - by MenaceX^ - 01.03.2009, 20:33
Re: PlayerToPoint - by Born2die - 02.03.2009, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)