Oke this is starting to piss me off!
#10

Quote:
Originally Posted by DeathOnaStick
Посмотреть сообщение
This does not have anything to do with the problem. Everyone can use strtok because it's not a plague at all. It's not the best sollution, but many people cry pretty hard about it when they see someone using it. Also this does not solve the problem due to the fact that it will say nothing when the command does not exist. It MUST return zero in the end, there is no other possibility if you don't want your server to get fucked up.

Now to your problem:

I'm pretty sure it has to do something with that:

pawn Код:
if(blabla==1){
     do this do that... //with return
     return 1;
}
else{
    do this do that... //forgot return
}
Look up your whole code and i'm sure youll find smth.
Huh ? i don't think a if statement should have a return ... or else it's really slow ?!

The solution is just the 'return 0' at the end ... it must be return 1;
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)