Spawn with Chainsaw - 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: Spawn with Chainsaw (
/showthread.php?tid=96125)
Spawn with Chainsaw -
DonTSHootMi - 06.09.2009
Hello, im creating an
massacre game mode and i want to know how to spawn with a
chainsaw. I would be very thankful for your help
Re: Spawn with Chainsaw -
Calgon - 06.09.2009
Look for OnPlayerSpawn(playerid), where it says that, add the following code in the { } brackets.
pawn Код:
GivePlayerWeapon(playerid, 9, 1); // One Chainsaw.
Re: Spawn with Chainsaw -
DonTSHootMi - 06.09.2009
4 Errors. C:\Documents and Settings\Henriksson.BYGGROSEN1988\Mina dokument\samp02Xserver.win32\gamemodes\pedm.pwn(22 7) : error 001: expected token: ",", but found "}"
C:\Documents and Settings\Henriksson.BYGGROSEN1988\Mina dokument\samp02Xserver.win32\gamemodes\pedm.pwn(22 7) : error 010: invalid function or declaration
C:\Documents and Settings\Henriksson.BYGGROSEN1988\Mina dokument\samp02Xserver.win32\gamemodes\pedm.pwn(23 2) : error 021: symbol already defined: "TogglePlayerClock"
C:\Documents and Settings\Henriksson.BYGGROSEN1988\Mina dokument\samp02Xserver.win32\gamemodes\pedm.pwn(23 3) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Re: Spawn with Chainsaw -
dice7 - 06.09.2009
care to show the lines from 220-240 ?
Re: Spawn with Chainsaw -
Eazy_Efolife - 06.09.2009
This should of been 3 posts and it would be done
Код:
public OnPlayerSpawn(playerid)
{
GivePlayerWeapon(playerid, 9, 1); // One Chainsaw.
return 1;
}