PDA

View Full Version : help me please.


Goldino
24/11/2012, 02:04 PM
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

ItalianKiller1568
24/11/2012, 02:15 PM
Search for this on your gamemode :

public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
SetPlayerPosFindZ(playerid, fX, fY, fZ);
return 1;
}

and then remove it .

Goldino
24/11/2012, 02:35 PM
It says not found

ItalianKiller1568
24/11/2012, 02:37 PM
Try searching only the

OnPlayerClickMap

If you find it , then give me the code

Goldino
24/11/2012, 02:52 PM
Still not found

RenSoprano
24/11/2012, 03:00 PM
Show us your OnPlayerClickMap code

Goldino
24/11/2012, 03:09 PM
I dont have a OnPlayerClickMap code in my scriot