hmm, could need some help please ;) -
Tutrix - 19.12.2010
Fixed , delete plz
Re: hmm, could need some help please ;) -
Sledge - 19.12.2010
ticket = strtok(idx, cmdtext);
try that
or try this
ticket[playerid] = strtok(cmdtext, idx);
Re: hmm, could need some help please ;) -
Tutrix - 19.12.2010
Quote:
Originally Posted by Sledge
or try this
ticket[playerid] = strtok(cmdtext, idx);
|
on that, i get this error :
Код:
must be assigned to an array
And i dont know how to fix that either
Re: hmm, could need some help please ;) -
blackwave - 19.12.2010
That dont need to be an array. Just put:
Otherwise, if you're using for players, put:
Re: hmm, could need some help please ;) -
XePloiT - 19.12.2010
show the idx...
Re: hmm, could need some help please ;) -
Tutrix - 19.12.2010
Quote:
Originally Posted by XePloiT
show the idx...
|
What do you mean?
and blackwave, this is the errors i get :
Код:
error 006: must be assigned to an array
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
Re: hmm, could need some help please ;) -
Jefff - 19.12.2010
pawn Код:
if(IsPlayerConnected(playerid))
{
new ticket[128];
ticket = strtok(cmdtext, idx);
1. Disconnected player cant type command xD
2. strcat(ticket,strtok(cmdtext, idx));
or
3. Remove this
pawn Код:
new ticket[128];
ticket = strtok(cmdtext, idx);
and all 'ticket' replace to
Re: hmm, could need some help please ;) -
XePloiT - 19.12.2010
try to replace this
to this:
Re: hmm, could need some help please ;) -
Tutrix - 19.12.2010
It works, but not the timers :S They dont start.
Re: hmm, could need some help please ;) -
Tutrix - 19.12.2010
Quote:
Originally Posted by XePloiT
try to replace this
to this:
|
nope dont work, and the timers dont work either :S