SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 22/05/2020, 10:55 PM   #1
Pedrob
Little Clucker
 
Join Date: Oct 2016
Posts: 9
Reputation: 0
Default Coords

sou um pouco leigo em pawno, alguém sabe como adicionar + coordenadas a esse código aqui?

Quote:
if(IsPlayerConnected(playerid))
{
new tmp[78], idx, string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));

if(IsPlayerInRangeOfPoint(playerid,2, 1706.2869,-1860.6364,13.5785))
{
Pedrob is offline   Reply With Quote
Old 22/05/2020, 11:19 PM   #2
iLordGG
Huge Clucker
 
Join Date: May 2015
Posts: 261
Reputation: 15
Default Re: Coords

Code:
if(IsPlayerConnected(playerid))
{
new tmp[78], idx, string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));

if(IsPlayerInRangeOfPoint(playerid,2, 1706.2869,-1860.6364,13.5785))
{
...
}
if(IsPlayerInRangeOfPoint(...))
{
...
}


}
iLordGG is offline   Reply With Quote
Old 22/05/2020, 11:57 PM   #3
Pedrob
Little Clucker
 
Join Date: Oct 2016
Posts: 9
Reputation: 0
Thumbs up Re: Coords

Quote:
Originally Posted by iLordGG View Post
Code:
if(IsPlayerConnected(playerid))
{
new tmp[78], idx, string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));

if(IsPlayerInRangeOfPoint(playerid,2, 1706.2869,-1860.6364,13.5785))
{
...
}
if(IsPlayerInRangeOfPoint(...))
{
...
}


}
(edit) consegui, obrigado

Last edited by Pedrob; 23/05/2020 at 12:34 AM.
Pedrob is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
coords TonyNames Scripting Help 11 01/04/2014 10:38 AM
Coords coolmark1995 Scripting Help 4 15/03/2014 11:18 AM
Coords Drake Star Scripting Help 2 05/08/2013 03:31 PM
Getting coords Meebly Server Support 2 24/11/2009 06:36 PM
coords Lajko1 Help Archive 15 07/11/2009 08:19 AM


All times are GMT. The time now is 11:44 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.