[HELP] Okay, I'M really stuck here :\
#1

pawn Код:
new giveplayerid, moneys, idx;
    new Float:x, Float:y, Float:z;
   
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsStringAName(tmp))
        {
            giveplayerid = GetPlayerID(tmp);
        }
        else
        {
            giveplayerid = strval(tmp);
        }
        if (IsPlayerConnected(giveplayerid))
        {
        GetPlayerPos(playerid, x, y, z);
            GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
            GetPlayerName(playerid, sendername, sizeof(sendername));
            if(IsPlayerInRangeOfPoint(giveplayerid, 0.5, x, y, z))
            {
I want it so that when the player touches giveplayerid it will send a message to both of them... but I'm really stuck here and I don't know what to do. Btw, I put this code in a timer.
Reply


Messages In This Thread
[HELP] Okay, I'M really stuck here :\ - by AcId n RaPiD - 19.12.2009, 13:04
Re: [HELP] Okay, I'M really stuck here :\ - by GTA_Rules - 19.12.2009, 13:06
Re: [HELP] Okay, I'M really stuck here :\ - by AcId n RaPiD - 19.12.2009, 13:10
Re: [HELP] Okay, I'M really stuck here :\ - by GTA_Rules - 23.12.2009, 05:41

Forum Jump:


Users browsing this thread: 1 Guest(s)