23.02.2010, 10:47
Quote:
Originally Posted by VonLeeuwen
As I said before, try this:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/enter", true) == 0) // BANK { if(PlayerToPoint(6.0, playerid, 1462.3953,-1011.4509,26.8438)); // <-- Line 75 { SetPlayerPos(playerid, 2305.1880,-16.1371,26.7422,278.6509); } return 1; } return 0; // does not take part in the command, just at the call back } // same as above |
Quote:
Originally Posted by Torran
What is it, Why does everyone use IsPlayerToPoint, Use:
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint Its way way better, I dont know why people still use IsPlayerToPoint |