help KEY_ENTER ERROR HOW to define it?
#1

this my code
PHP код:
if(PRESSED(KEY_ENTER))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.01928.7715, -1776.262113.5469))
        {
             
SendClientMessage(playeridCOLOR_GREY"**GAS STATION**");
            
SendClientMessage(playeridCOLOR_GREY"Welcome to the Gas Station! Please go by the counter to buy something.");
            
SetPlayerPos(playerid, -25.5497,-183.2443,1003.5469);
            
SetPlayerInterior(playerid,17);
            return 
1;
    }
}
    return 
1;

and this error please help i want press enter for this code

PHP код:
C:\Users\Yajaira\Desktop\CNR\gamemodes\1.2.pwn(1949) : error 017undefined symbol "KEY_ENTER"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
1 Error

Reply


Messages In This Thread
help KEY_ENTER ERROR HOW to define it? - by UserName31 - 11.08.2013, 19:11
Re: help KEY_ENTER ERROR HOW to define it? - by [XST]O_x - 11.08.2013, 19:12
Re: help KEY_ENTER ERROR HOW to define it? - by UserName31 - 11.08.2013, 19:17
Re: help KEY_ENTER ERROR HOW to define it? - by [XST]O_x - 11.08.2013, 19:22
Re: help KEY_ENTER ERROR HOW to define it? - by UserName31 - 11.08.2013, 19:40

Forum Jump:


Users browsing this thread: 2 Guest(s)