/ck - SOLVED
#1

I made this kinda simple CK system for my GameMode I'm working on
here's the pastebin: http://pastebin.com/mf225a28
List of my problems:
  • When I do /ck request [playerid], it sends the message to the victim. when he types: /ck accept it says "You don't have any Character Kill requests" same on /ck deny - SOLVED
  • Sending a message to al player like so: Player_Name was Character Killed by Player_Name I managed to make it work like so - send only the victims message - SOLVED
  • I have an Error on the MSG to the Assassin from the Victim if the ck is denied, the error: error 035: argument type mismatch (argument 1) but on /ck accept it works - SOLVED
SOLVED Thanks for the Help Sief_, solved it myself
Reply
#2

I kinda fixed the Message problem, I have only a problem only on /ck deny message to the Assassin
heres the command: http://pastebin.com/mf225a28
the line that gives the error: 59
the error: error 035: argument type mismatch (argument 1)
Reply
#3

the thing is that on /ck accept when it sends the Message to All player it writes the Correct name of the Assassin => requester!
so whats the problem?
Reply
#4

so the variable ckAssassin should be new ckAssassin[MAX_PLAYERS]; !?
EDIT: tried changing the variable to new ckAssassin[MAX_PLAYERS]; still gives me the error
Reply
#5

heres the Command: http://pastebin.com/mf225a28
the line with the error: 59
all defines are in the "/ck" main
Reply
#6

Quote:
Originally Posted by Seif_ [adream-rp.com
]
It has to be a global variable...
And it's:
new ckAssassin[MAX_PLAYERS];
Tried making it Global as you suggested still the same error
Reply
#7

Any1 can help, I've updated the problem in first post
Reply
#8

SOLVED the problems myself, Thanks for the Help Sief_
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)