SA-MP Forums Archive
Help please :(((( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help please :(((( (/showthread.php?tid=203648)



Help please :(((( - trapped1 - 27.12.2010

How to make PlayerInArea with Send message?

How to make if player says /give then another player gets +1 to skill how to do that?

Thanks again I hope you will help me...


Re: Help please :(((( - blackwave - 27.12.2010

pawn Код:
stock IsPlayerInPlace(playerid,Float:XMin,Float:YMin,Float:XMax,Float:YMax ) // PlayerInPlace stock. Edit yourself for messages
{
new RetValue = 0;
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z );

if( X >= XMin && Y >= YMin && X < XMax && Y < YMax )
{
    RetValue = 1;
}
return RetValue;
}
Skill: click me


Re: Help please :(((( - trapped1 - 27.12.2010

thanks for your reply