SA-MP Forums Archive
Help! bad problem - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help! bad problem (/showthread.php?tid=215372)



Help! bad problem - New Ilyass - 23.01.2011

Код:
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


Re: Help! bad problem - Jay. - 23.01.2011

Read below


Re: Help! bad problem - Jay. - 23.01.2011

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

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



Re: Help! bad problem - New Ilyass - 23.01.2011

Oh thx bro