02.06.2012, 15:23
Hi everyone,
i already wrote about this problem in another topic, but i think that it is the problem that i very need to resolve.
I need that when i want to enter in a building, i have to press the enter key... can you suggest me some script? I tried with this:
It give me four errors:
So...what i can do? Can you help me?
i already wrote about this problem in another topic, but i think that it is the problem that i very need to resolve.
I need that when i want to enter in a building, i have to press the enter key... can you suggest me some script? I tried with this:
Код:
OnPlayerKeyStateChange(playerid, oldkeys, newkeys) if(newkeys & KEY_SECONDARY_ATTACK) { enter script }
Код:
C:\Users\Marco\Desktop\Atlantis City\gamemodes\crp.pwn(24706) : error 029: invalid expression, assumed zero C:\Users\Marco\Desktop\Atlantis City\gamemodes\crp.pwn(24706) : error 017: undefined symbol "oldkeys" C:\Users\Marco\Desktop\Atlantis City\gamemodes\crp.pwn(24707) : error 001: expected token: ";", but found "if" C:\Users\Marco\Desktop\Atlantis City\gamemodes\crp.pwn(24707) : error 017: undefined symbol "newkeys" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.