IsPlayerInArea help
#3

Quote:
Originally Posted by $ЂЯĢ
Change your IsPlayeRInArea function with this:

pawn Код:
IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    if (x > minx && x < maxx && y > miny && y < maxy) return 1;
    {
        DM[playerid] = 1;
        }
    return 0;
}
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9 : error 017: undefined symbol "DM"
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9 : warning 215: expression has no effect
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9 : error 001: expected token: ";", but found "]"
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9 : error 029: invalid expression, assumed zero
C:\Users\richard\Desktop\samp 0.3 R3\gamemodes\NewProject.pwn(9 : fatal error 107: too many error messages on one line

Код:
98 = DM[playerid] = 1;
Reply


Messages In This Thread
IsPlayerInArea help - by Ritchie999 - 02.11.2009, 17:12
Re: IsPlayerInArea help - by Sergei - 02.11.2009, 17:19
Re: IsPlayerInArea help - by Ritchie999 - 02.11.2009, 17:23
Re: IsPlayerInArea help - by SaYrOn - 02.11.2009, 17:32
Re: IsPlayerInArea help - by Sergei - 02.11.2009, 17:37
Re: IsPlayerInArea help - by Ritchie999 - 02.11.2009, 17:40
Re: IsPlayerInArea help - by Daren_Jacobson - 02.11.2009, 17:47
Re: IsPlayerInArea help - by MadeMan - 02.11.2009, 17:50
Re: IsPlayerInArea help - by Ritchie999 - 02.11.2009, 17:52
Re: IsPlayerInArea help - by MadeMan - 02.11.2009, 17:56

Forum Jump:


Users browsing this thread: 1 Guest(s)