04.10.2009, 09:00
Hey all 
How can i make that if a player types /war he will be given the weapons? Im a newbie scripter
this is my own code :
But it gives me error/warning
Thx for reading post the post 
Peace,
Hawk

How can i make that if a player types /war he will be given the weapons? Im a newbie scripter

this is my own code :
Код:
if(strcmp(cmd, "/war", true) == 0) { SetPlayerPos(playerid, 245.2354, 1891.816,2.581130); GetPlayerSkin(playerid); SetPlayerSkin(playerid, 284); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GetPlayerWeaponData(playerid, 356, 2000, 358, 25, 359, 30, 350, 100); SendClientMessage(playerid, COLOR_RED, "Kill all the people you find!"); return 1; }
Код:
C:\Documents and Settings\Alistair\Desktop\Server\gamemodes\Hawk.pwn(164) : error 035: argument type mismatch (argument 3) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.

Peace,
Hawk
