Help please!
#8

Quote:
Originally Posted by Snipa
View Post
Use this:

Code:
public OnVehicleSpawn(vehicleid)
{
	GivePlayerMoney(playerid, 500);
	GivePlayerWeapon(playerid, 26, 28);
	return 1;
}
Code:
public OnVehicleDeath(vehicleid, killerid)
{
	GivePlayerMoney(killerid, -5000)
	return 1;
}
Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/healme", cmdtext, true, 10) == 0)
	{
		SetPlayerHealth(playerid, 100);
		return 1;
	}
	if (strcmp("/killme", cmdtext, true, 10) == 0)
	{
		SetPlayerHealth(playerid, 0);
		return 1;
	}
	return 0;
}
dude now i hav 11 ERROR.thnx

this is my 11 ERROR

Code:
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(70) : error 017: undefined symbol "GivePlayerMonney"
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(71) : error 055: start of function body without function header
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(72) : error 010: invalid function or declaration
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(77) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(78) : error 021: symbol already defined: "GivePlayerWeapon"
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(79) : error 010: invalid function or declaration
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(81) : error 055: start of function body without function header
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(82) : error 010: invalid function or declaration
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(88) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(90) : error 055: start of function body without function header
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(91) : error 010: invalid function or declaration
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(105) : warning 217: loose indentation
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\GMDM.pwn(108) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


11 Errors.
Here u can Correct it;http://pastebin.com/SNpeAmuL
Reply


Messages In This Thread
Help please! - by AzTeCaS - 22.11.2010, 01:13
Re: Help please! - by AzTeCaS - 22.11.2010, 01:15
Re: Help please! - by Haydz - 22.11.2010, 01:22
Re: Help please! - by AzTeCaS - 22.11.2010, 01:28
Re: Help please! - by Snipa - 22.11.2010, 01:36
Re: Help please! - by Kitten - 22.11.2010, 01:39
Re: Help please! - by Scenario - 22.11.2010, 01:39
Re: Help please! - by AzTeCaS - 22.11.2010, 01:47
Re: Help please! - by Buzzbomb - 22.11.2010, 02:05
Re: Help please! - by AzTeCaS - 22.11.2010, 02:29
Re: Help please! - by Buzzbomb - 22.11.2010, 02:55
Re: Help please! - by AzTeCaS - 22.11.2010, 03:05
Re: Help please! - by Buzzbomb - 22.11.2010, 03:29
Re: Help please! - by AzTeCaS - 22.11.2010, 03:35
Re: Help please! - by Buzzbomb - 22.11.2010, 03:51

Forum Jump:


Users browsing this thread: 1 Guest(s)