Help! bad problem
#1

Код:
public OnPlayerSpawn(playerid)
{
	GivePlayerWeapon(playerid, 27,250)
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	GivePlayerMoney(playerid, -1838)
	GivePlayerMoney(killerid, 2038)
	return 1;
}
C:\Documents and Settings\Sanaв\Bureau\samp03csvr_win32\gamemodes\l sgw.pwn(101) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\Sanaв\Bureau\samp03csvr_win32\gamemodes\l sgw.pwn(107) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\Sanaв\Bureau\samp03csvr_win32\gamemodes\l sgw.pwn(10 : error 001: expected token: ";", but found "return"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

Hope you opened my pb
Reply
#2

Read below
Reply
#3

pawn Код:
public OnPlayerSpawn(playerid)
{
    GivePlayerWeapon(playerid, 27,250);
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    GivePlayerMoney(playerid, -1838);
    GivePlayerMoney(killerid, 2038);
    return 1;
}
Reply
#4

Oh thx bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)