Quote:
Originally Posted by Torran
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
|
|
I know, I use IsPlayerInRangeOfPOint too, but he decided to use this one... So I tried to help him with it