Posts: 1,018
Threads: 129
Joined: Apr 2011
Reputation:
0
for example
if(PRESSED(KEY_BRAKE))
{
SendClientMessage(playerid,RED,"bla bla bla");
}
compiling....1 error(undefined symbol pressed)
Posts: 1,018
Threads: 129
Joined: Apr 2011
Reputation:
0
do I have to define newkeys also?
Posts: 1,464
Threads: 11
Joined: Jan 2008
Reputation:
0
This define goes in the OnPlayerKeyStateChange callback.
Posts: 1,018
Threads: 129
Joined: Apr 2011
Reputation:
0
Bomb[playerid] = true; gives me errors
D:\Jocuri\GTA\GTA San Andreas\SAMP\samp03csvr_win32\gamemodes\lsdm.pwn(3 60) : error 017: undefined symbol "Bomb"
D:\Jocuri\GTA\GTA San Andreas\SAMP\samp03csvr_win32\gamemodes\lsdm.pwn(3 60) : warning 215: expression has no effect
D:\Jocuri\GTA\GTA San Andreas\SAMP\samp03csvr_win32\gamemodes\lsdm.pwn(3 60) : error 001: expected token: ";", but found "]"
D:\Jocuri\GTA\GTA San Andreas\SAMP\samp03csvr_win32\gamemodes\lsdm.pwn(3 60) : error 029: invalid expression, assumed zero
D:\Jocuri\GTA\GTA San Andreas\SAMP\samp03csvr_win32\gamemodes\lsdm.pwn(3 60) : fatal error 107: too many error messages on one line