01.12.2014, 19:41
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;
)
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;
)