Spawn with Chainsaw
#1

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
Reply
#2

Look for OnPlayerSpawn(playerid), where it says that, add the following code in the { } brackets.

pawn Код:
GivePlayerWeapon(playerid, 9, 1); // One Chainsaw.
Reply
#3

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
Reply
#4

care to show the lines from 220-240 ?
Reply
#5

This should of been 3 posts and it would be done

Код:
public OnPlayerSpawn(playerid)
{
  GivePlayerWeapon(playerid, 9, 1); // One Chainsaw.
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)