#1

I am watching some tutorials but I copy al what the male says it gives Errors

C:\Documents and Settings\Owner\Desktop\SAMP\gamemodes\GameMode.pwn (13 -- 14) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Owner\Desktop\SAMP\gamemodes\GameMode.pwn (13 -- 14) : error 001: expected token: ")", but found ";"
C:\Documents and Settings\Owner\Desktop\SAMP\gamemodes\GameMode.pwn (17) : error 010: invalid function or declaration

#include <a_samp>
#define GameMode "Tutorial"
#define Spawn_X 200
#define Spawn_Y 200
#define Spawn_z 200
public OnGameModeInit ()
{
SetGameModeText("GameMode");
return 1;
}

public OnPlayerRequestClass(playerid,classid)
(
SetSpawnInfo(playerid, 0, Spawn_X, Spawn_Y, Spawn_z, 0, -1, -1, -1,-1,-1,-1);
GivePlayerMoney(playerid, 1000);
SpawnPlayer(playerid);
return 1;
)
Reply


Messages In This Thread
HELP - by DarkScimitar - 01.12.2014, 19:41
Re: HELP - by Runn3R - 01.12.2014, 19:42
Re: HELP - by AnthonyTimmers - 01.12.2014, 19:47
Re: HELP - by Rube - 01.12.2014, 19:48
Re: HELP - by DarkScimitar - 02.12.2014, 16:05
Re: HELP - by HY - 02.12.2014, 16:52

Forum Jump:


Users browsing this thread: 1 Guest(s)