[BEP]AcerPilot
Unregistered
Can someone tell me how to make a script like this:
When I get a place is shown a message in chat to the player.
Example
When I arrive at the station a message is sent: You're at the station.
Posts: 1,166
Threads: 44
Joined: Sep 2009
Reputation:
0
this could be done with a Checkpoint do you want me to make you a simple one?
1. This code won't even compile without errors.
2. 'playerid' in this case will always be '0', unless you put a loop in there.
[BEP]AcerPilot
Unregistered
The coordinates of IsPlayerInArea/IsPlayerInRangeOfPoint are the same that I would use the function SetPlayerWorldBounds?
OBS: For IsPlayerInRangeOfPoint i can use this script? (My server are 0.2x)
Code:
stock IsPlayerInRangeOfPoint(playerid, Float:radius, Float:X, Float:Y, Float:Z)
{
new Float:oldpos[3], Float:temppos[3];
GetPlayerPos(playerid, oldpos[0], oldpos[1], oldpos[2]);
temppos[0] = (oldpos[0] -X);
temppos[1] = (oldpos[1] -Y);
temppos[2] = (oldpos[2] -Z);
if(((temppos[0] < radius) && (temppos[0] > -radius)) && ((temppos[1] < radius) && (temppos[1] > -radius)) && ((temppos[2] < radius) && (temppos[2] > -radius)))
{
return true;
}
return false;
}
[BEP]AcerPilot
Unregistered
But my server are 0.2X
(And not, I don't want a update to 0.3)
Update: And the codes I tested in this post don't worked
[BEP]AcerPilot
Unregistered
[BEP]AcerPilot
Unregistered