All the help I need (Updated when I need new help)
#1

So, this is the topic that pwns for all my help since creating a new topic for small little f*cking help isn't needed. If it's easy or not, I don't understand why some Errors are coming up.

I leaned a bit of scripting but I'm still a n00b at it. I can't even change the gamemodetext because of Errors :S, The public OnGameModeInit worked. but I added GameModeText. on the wiki http://samp.breadfish.de/wiki_backup...eModeText.html it says that no return 1 is needed, even if I add it I have Errors. look at the code:

#include <a_samp>

#define FILTERSCRIPT
public OnGameModeInit()
{
UsePlayerPedAnims();
{
//GameModeNameChanger
SetGameModeText ("Reactiontest+DM+Minigames");
{



Error: error 030: compound statement not closed at the end of file (started at line 11)

WTF, I don't even have line 11!
Reply
#2

1. Wrong section

2.
pawn Code:
public OnGameModeInit()
{
  UsePlayerPedAnims();
  //GameModeNameChanger
  SetGameModeText ("Reactiontest+DM+Minigames");
}
Reply
#3

Thanks, hope you do not get sick of my questions since you answered them Thanks, you rock!
people, if I encounter more problems, stay tune @ this topic!

EDIT: sorry for creating script help topic into the Client board. my bad. can any Admin move it to the Scripting Discussion? then it's home lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)