[HELP Me]
#1

Код:
error 017: undefined symbol "params"
warning 225: unreachable code
And the line error's

pawn Код:
if(newkeys == KEY_WALK)
{
return dcmd_robstore(playerid,params);
return 1;
}
Reply
#2

there's no params in that callback...Also, you're already returning you don't need to return twice
Reply
#3

and what's the solution, so that it can use the command robstore key_walk,, i will give +1 rep
Reply
#4

Just use "" (empty string) as params. Or whatever the player would've typed as parameters. And as said, remove return 1.

Oh, and I usually don't reply to topics with a non-descriptive title (see my sig) but I just happened to stumble upon this one.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)