What's the problem?
#1

Hello, i'm trying to make a welcome message for a special
place. How can i display a 'i' icon on that place? But the main
question is, why do i get this error and what does it mean?

Script :
Quote:

forward PlayerToPoint(Float:radi, playerid, Float, Float:y, Float:z);

Quote:

if(PlayerToPoint(playerid,1642.2993,-2332.3384,13.5469))
{
GameTextForPlayer(playerid, "~r~Welcome", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1642.2993,-2332.3384,13.5469);
}

Reply
#2

what error?
Reply
#3

Quote:
Originally Posted by (SF)Noobanatior
what error?
Sorry forgot to add :
Quote:

error 004: function "PlayerToPoint" is not implemented

Reply
#4

well you dont have a PointToPoint function are you trying to get a players distance from where he is to a marker?
Reply
#5

Quote:
Originally Posted by (SF)Noobanatior
well you dont have a PointToPoint function are you trying to get a players distance from where he is to a marker?
No just por that position, i didnt make this sciprt i copied
from GF, when you enter ammu nation
Reply
#6

look through GF and find the point to point function

Public PointToPotin(playerid......

or

stock PointToPoint(playerid,....

AND COPY THE WHOLE FUNCTION INTO THE(caps) end of your mode
Reply
#7

Why PlayerToPoint, the old, using IsPlayerInRangeOfPoint...
Код:
if(IsPlayerInRangeOfPoint(playerid,5.0,1642.2993,-2332.3384,13.5469))
{
GameTextForPlayer(playerid, "~r~Welcome", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1642.2993,-2332.3384,13.5469);
}
Reply
#8

Quote:
Originally Posted by wofka13
Why PlayerToPoint, the old, using IsPlayerInRangeOfPoint...
Код:
if(IsPlayerInRangeOfPoint(playerid,5.0,1642.2993,-2332.3384,13.5469))
{
GameTextForPlayer(playerid, "~r~Welcome", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1642.2993,-2332.3384,13.5469);
}
Thanks it works, how can i display a 'i' icon there?
Reply
#9

Quote:
Originally Posted by Ihsan_Cingisiz
Quote:
Originally Posted by wofka13
Why PlayerToPoint, the old, using IsPlayerInRangeOfPoint...
Код:
if(IsPlayerInRangeOfPoint(playerid,5.0,1642.2993,-2332.3384,13.5469))
{
GameTextForPlayer(playerid, "~r~Welcome", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1642.2993,-2332.3384,13.5469);
}
Thanks it works, how can i display a 'i' icon there?
Here is the full tutorial to create a pickup!
https://sampwiki.blast.hk/wiki/PickupGuide
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)