"Change" code?
#2

Find the interior world for those coordinates.. http://weedarr.wikidot.com/interior
PHP Code:
if (strcmp("/enterammunation"cmdtexttrue10) == 0)
{
    if (
IsPlayerInRangeOfPoint(playerid5.0, -0.41742525.687716.4844)) //The coordinates you gave of the outside of ammunation.. Range to be in is 5 meter
    
{
        
SetPlayerPos(playerid,XYZ);  // Find the coordinates on samp wiki. 
        
SetPlayerInterior(playeridinteriorID);  // The interior World should be on weedarr.wikidot
        
return 1;
    }
    else return 
SendClientMessage(playerid0xFF0E0063"You are not at the entrance of ammunation");

Thats all I guess
Reply


Messages In This Thread
"Change" code? +rep! - by davve95 - 19.01.2012, 18:18
Re: "Change" code? - by milanosie - 19.01.2012, 18:26
Re: "Change" code? - by davve95 - 19.01.2012, 19:08
Re: "Change" code? - by Gerira Gaijin - 19.01.2012, 19:50
Re: "Change" code? - by Vince - 19.01.2012, 19:51
Re: "Change" code? - by davve95 - 19.01.2012, 19:53
Re: "Change" code? - by milanosie - 19.01.2012, 21:02
Re: "Change" code? - by davve95 - 20.01.2012, 05:31

Forum Jump:


Users browsing this thread: 1 Guest(s)