Help me
#8

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Try this :
PHP код:
CMD:dropgps(playerid,params[])
{
    if(
pInfo[playerid][pLogged] == 1)
    {
        new 
Float:fPos[3];
        if(
pInfo[playerid][pUsedGPS] == 1)
        {
            
GetPlayerPos(playerid,fPos[0],fPos[1],fPos[2]);
            
DayZSA_CreateLootsFunction("GPS",fPos[0]+random(2),fPos[1]+random(2),fPos[2]);
            
pInfo[playerid][pUsedGPS] = 0;
            for (new 
06i++)
            {
                
TextDrawShowForPlayer(playeridMapTD[i]);
            }
            
PlayerTextDrawShow(playeridblockMap[playerid]);
            
GangZoneShowForPlayer(playerid,BlockMap,0x000000FF);
            
SendClientMessage(playerid,-1,"*"COL_RED" You have dropped your 'GPS'!");
        
//    print("message passed");
            
return 1;
        }
        else return 
SendClientMessage(playerid,-1,"*"COL_RED" You're not used your 'GPS'!");
    }
    else return 
SendClientMessage(playerid,-1,"*"COL_RED" You're not loggedin!");

That give me a same result
Reply


Messages In This Thread
Help me - by SilverStand - 26.05.2016, 17:23
Re: Help me - by Slawiii - 26.05.2016, 17:39
Re: Help me - by SilverStand - 26.05.2016, 17:40
Re: Help me - by Dayrion - 26.05.2016, 17:46
Re: Help me - by SilverStand - 26.05.2016, 17:49
Re: Help me - by Dayrion - 26.05.2016, 17:51
Re: Help me - by justice96 - 26.05.2016, 17:52
Re: Help me - by SilverStand - 26.05.2016, 18:02
Re: Help me - by SilverStand - 26.05.2016, 18:08
Re: Help me - by Darkwood17 - 26.05.2016, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)