Help Pls [+1 Rep]
#4

Quote:
Originally Posted by MichaelProPlayer
Посмотреть сообщение
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(success == 0)
{
SendClientMessage(playerid, COLOR_RED, "Try another command from /help, that one doesnt exist!");
return 1;
}
return 0;
}

Try this code
This ain't gonna work. you just change return 1; to return 0; it will keep the warning better do what i say

Quote:
Originally Posted by Reklez
Посмотреть сообщение
pawn Код:
forward OnPlayerCommandPerformed(playerid, cmdtext[], success); //at the top of script after the #include <a_samp> or after the other #includes
the loose indentation one is something about this

Код:
         SendClientMessage(playerid, -1, "Dancing party!"); //will give loose indentation in this line
SendClientMessage(playerid, -1, "Enjoying huh!");

SendClientMessage(playerid, -1, "Dancing party!"); //correct one
SendClientMessage(playerid, -1, "Enjoying huh!");
Reply


Messages In This Thread
Help Pls [+1 Rep] - by Bleach79 - 26.03.2012, 10:11
Re: Help Pls [+1 Rep] - by Reklez - 26.03.2012, 10:14
Re: Help Pls [+1 Rep] - by MichaelProPlayer - 26.03.2012, 10:15
Re: Help Pls [+1 Rep] - by Reklez - 26.03.2012, 10:16
Re: Help Pls [+1 Rep] - by doreto - 26.03.2012, 10:17
Re: Help Pls [+1 Rep] - by Bleach79 - 26.03.2012, 10:19
Re: Help Pls [+1 Rep] - by doreto - 26.03.2012, 10:27
Re: Help Pls [+1 Rep] - by Unknown1195 - 26.03.2012, 10:32
Re: Help Pls [+1 Rep] - by Bleach79 - 26.03.2012, 10:52
Re: Help Pls [+1 Rep] - by Reklez - 26.03.2012, 10:53

Forum Jump:


Users browsing this thread: 1 Guest(s)