Little problem, Need Assistance :)
#1

Nvmeeeeeeeeeeeeeeeeeeeemdd
Reply
#2

1 thing I can see is you need to put the
pawn Код:
new Menu:XXX;
after you include a_samp.
Reply
#3

Ohh, Trying will edit with the result.


EDIT: Still same, Btw there are NO Error's/Warning's if i'm compiling.. Help
Reply
#4

Quote:

if (strcmp("/teleports", cmdtext, true) == 0)
{
ShowMenuForPlayer(XXX, playerid);
TogglePlayerControllable(playerid, 0);
return 1;


}
return 1;
}
return 0;
}

i think you have an extra return 1; it should be:

pawn Код:
if (strcmp("/teleports", cmdtext, true) == 0)
{
ShowMenuForPlayer(XXX, playerid);
TogglePlayerControllable(playerid, 0);
return 1;


}

return 0;
}
Reply
#5

Quote:
Originally Posted by xalith
Посмотреть сообщение
i think you have an extra return 1; it should be:

pawn Код:
if (strcmp("/teleports", cmdtext, true) == 0)
{
ShowMenuForPlayer(XXX, playerid);
TogglePlayerControllable(playerid, 0);
return 1;


}

return 0;
}

Trying, Hold on.


EDIT: Still ''Unknown Command'', without error/warning's on Compile
Reply
#6

Take the
pawn Код:
return 0;
}
out, and try again.
Reply
#7

Still noting, Anyone has a sulution :S ?
Reply
#8

did you make it into a fs? if you did then did you add it to the server.cfg, and if its in the gm make sure u uploaded the correct one.
Reply
#9

I've putted into the main GM
Reply
#10

Did you restart the server? restarting the server will make the script refresh.
I'm afraid that if that's not the solution, it won't work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)