Something simple i cant figer out -.-
#8

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
I used pragma because I dont use any commands like, /rpg (id)

Etc, But if I was to use it Id use scanf to do it.

There are a few tutorials out there, Take a look.
That explained nothing about why you used "#pragma unused params" in the code... As you can see in the line below, "params" exists, which could be used for making a command (for example) /kick [playerid] [reason], etc... If you only have a command like (for example) /help, which brings up a dialog you aren't using any "params" there. So it's best to tell the script; "Hey! No params exist in this command, so don't even check!". Make sense?

pawn Код:
dcmd_rpg(playerid, params[])
Reply


Messages In This Thread
Something simple i cant figer out -.- - by <Weponz> - 25.10.2010, 14:34
Re: Something simple i cant figer out -.- - by BMUK - 25.10.2010, 14:46
Re: Something simple i cant figer out -.- - by SampStunta - 25.10.2010, 15:06
Re: Something simple i cant figer out -.- - by Scenario - 25.10.2010, 15:26
Re: Something simple i cant figer out -.- - by Kyle - 25.10.2010, 15:30
Re: Something simple i cant figer out -.- - by <Weponz> - 25.10.2010, 15:46
Re: Something simple i cant figer out -.- - by Kyle - 25.10.2010, 15:50
Re: Something simple i cant figer out -.- - by Scenario - 25.10.2010, 15:54
Re: Something simple i cant figer out -.- - by Kyle - 25.10.2010, 15:55
Re: Something simple i cant figer out -.- - by BMUK - 25.10.2010, 15:57

Forum Jump:


Users browsing this thread: 2 Guest(s)