Pawno Code Please Help!
#1

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
Reply
#2

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

Lines 4,5,6,7.
Reply
#3

#include <a_samp>
#define GameMode "Tutorial"

public OnGameModeInit()
(
SetGameModeText("GameMode");
)
Reply
#4

Why #define GameMode "name"?
Reply
#5

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

works now thanks
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)