Nothing working
#1

Well only thing that is working in my script now is "OnPlayerKeyState" and it's not working properly... No cooldown on it even I set it! Here's the code.
http://pastebin.com/DaTBkj8k

When I try to use any command it says "Unknown command" and only thing that is working is when I press key "C" it actually works but without the cooldown....
Reply
#2

pawn Код:
if(Cooldown[playerid] == 1) return SendClientMessage(playerid,COLOR_RED,"<!>Please Wait Before Using This Command Again!");
. you forgot == 1) == 0 will make the variable 0 and == 1 will make it 1. so with your
pawn Код:
if(Cooldown[playerid])
change it to
pawn Код:
if(Cooldown[playerid] == 1)
( ONLY if(Cooldown[playerid]) )
Reply
#3

What about the script? Why ain't any of the cmds working?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)