hmm, could need some help please ;)
#1

Fixed , delete plz

pawn Код:
NO CODE HERE
Reply
#2

ticket = strtok(idx, cmdtext);

try that


or try this
ticket[playerid] = strtok(cmdtext, idx);
Reply
#3

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
Reply
#4

That dont need to be an array. Just put:

pawn Код:
new ticket;

Otherwise, if you're using for players, put:

pawn Код:
new ticket[MAX_PLAYERS];
Reply
#5

show the idx...
Reply
#6

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)
Reply
#7

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
pawn Код:
cmdtext[11]
Reply
#8

try to replace this
pawn Код:
new ticket[128];
to this:
pawn Код:
new ticket[128],idx;
Reply
#9

It works, but not the timers :S They dont start.
Reply
#10

Quote:
Originally Posted by XePloiT
Посмотреть сообщение
try to replace this
pawn Код:
new ticket[128];
to this:
pawn Код:
new ticket[128],idx;
nope dont work, and the timers dont work either :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)