SA-MP Forums Archive
Pawno Code Please Help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pawno Code Please Help! (/showthread.php?tid=548698)



Pawno Code Please Help! - DarkScimitar - 01.12.2014

Guys Im new to scripting Please help

C:\Documents and Settings\Owner\Desktop\SAMP\gamemodes\GameMode.pwn (5 -- 6) : error 001: expected token: ")", but found ";"

Reward will be +Rep


Re: Pawno Code Please Help! - Runn3R - 01.12.2014

The code? We can't do anything without it.

Lines 4,5,6,7.


Re: Pawno Code Please Help! - DarkScimitar - 01.12.2014

#include <a_samp>
#define GameMode "Tutorial"

public OnGameModeInit()
(
SetGameModeText("GameMode");
)


Re: Pawno Code Please Help! - ilepopivanov - 01.12.2014

Why #define GameMode "name"?


Re: Pawno Code Please Help! - Runn3R - 01.12.2014

pawn Код:
public OnGameModeInit()
{
SetGameModeText("GameMode");
}
Try now.


Re: Pawno Code Please Help! - DarkScimitar - 01.12.2014

works now thanks


Re: Pawno Code Please Help! - AnthonyTimmers - 01.12.2014

You've created multiple threads where you use parenthesis ( ) instead of brackets { }, please read some guides before you script..

https://sampwiki.blast.hk/wiki/Scripting_Basics
https://sampwiki.blast.hk/wiki/Control_Structures