[HELP] /war need help
#1

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 :

Код:
  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;
  	}
But it gives me error/warning

Код:
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.
Thx for reading post the post

Peace,
Hawk
Reply


Messages In This Thread
[HELP] /war need help - by alistair_hawk - 04.10.2009, 09:00
Re: [HELP] /war need help - by Correlli - 04.10.2009, 09:20
Re: [HELP] /war need help - by alistair_hawk - 04.10.2009, 09:45
Re: [HELP] /war need help - by Karlip - 04.10.2009, 09:47
Re: [HELP] /war need help - by alistair_hawk - 04.10.2009, 09:51
Re: [HELP] /war need help - by ferriswheel - 04.10.2009, 10:58
Re: [HELP] /war need help - by Correlli - 04.10.2009, 11:37

Forum Jump:


Users browsing this thread: 1 Guest(s)