30.11.2010, 08:43
Hey, I tried making a command to enter a specific area, ( a custom made fire department ) for some reason, in pawno it says that there is an error.
If you could fix this, thankyou
The co-ordinates are correct, and what i've set them to.
I just need this working ;[
Thanks, Menkz (M3NK5)
If you could fix this, thankyou
The co-ordinates are correct, and what i've set them to.
I just need this working ;[
pawn Код:
if (strcmp("/enterfd", cmdtext, true, 6) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,1342.4213867188,-1669.3712158203,17.7265625))
{
SetPlayerPos(playerid,1289.4602050781,-1604.3106689453,1242.7280273438);
return 1;
}
if (strcmp("/exitfd", cmdtext, true, 6) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,1289.4602050781,-1604.3106689453,1242.7280273438))
{
SetPlayerPos(playerid,1342.4213867188,-1669.3712158203,17.7265625);
return 1;
}