I need help with OnPlayerToPoint please
#2

This is how it should be:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  new cmd[128], idx;
   
  if(!strcmp("/blah", cmdtext, true))
  {
    if(PlayerToPoint(2.0,1633.2205,-1019.4009,23.8984))
    {
      SendClientMessage(playerid, COLOR_YELLOW, "blah blah blah blah !");
      GivePlayerWeapon(playerid,3,1);
      SetPlayerInterior(playerid, 0);
      SetPlayerPos(playerid, 1602.8052,-1009.7886,23.9063);
      GameTextForPlayer(playerid,"~w~BLAH BLAH ~y~BLAH BLAH ",5000,5);
    }
    return 1;
  }
  return 0;
}
Reply


Messages In This Thread
I need help with OnPlayerToPoint please - by *ToM* - 20.04.2009, 17:15
Re: I need help with OnPlayerToPoint please - by Rks25 - 20.04.2009, 17:29
Re: I need help with OnPlayerToPoint please - by *ToM* - 20.04.2009, 17:35
Re: I need help with OnPlayerToPoint please - by Rks25 - 20.04.2009, 17:42
Re: I need help with OnPlayerToPoint please - by *ToM* - 20.04.2009, 17:46
Re: I need help with OnPlayerToPoint please - by pspleo - 20.04.2009, 17:50
Re: I need help with OnPlayerToPoint please - by *ToM* - 20.04.2009, 20:07
Re: I need help with OnPlayerToPoint please - by ICECOLDKILLAK8 - 20.04.2009, 20:10

Forum Jump:


Users browsing this thread: 1 Guest(s)