help me please.
#1

Hey guys, how do I stop people teleporting via the map.

For example:

-Player goes on Map
-Right clicks somewhere
-Server teleports them to the place where they placed the red dot...



But I want do disable people doing that, I don't want people on my server teleporting everywhere.

What is the code to stop it and where do I place it?





Please help!!! thx
Reply
#2

Search for this on your gamemode :

pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
    SetPlayerPosFindZ(playerid, fX, fY, fZ);
    return 1;
}
and then remove it .
Reply
#3

It says not found
Reply
#4

Try searching only the

Код:
OnPlayerClickMap
If you find it , then give me the code
Reply
#5

Still not found
Reply
#6

Show us your OnPlayerClickMap code
Reply
#7

I dont have a OnPlayerClickMap code in my scriot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)