need some help
#1

i need help with becomecop command , can somone help to fix this command ?

pawn Код:
if (strcmp("/becomecop", cmdtext, true, 10) == 0)
  {
  if (GetPlayerScore(playerid) >= 600 && GetPlayerSkin(playerid) >= 267)
  {
  SendClientMessage(playerid,0xFFFFFFFF,"You Are Now Cop!");
  SetPlayerSkin(playerid, 267);
  GivePlayerWeapon(playerid, 22, 100);
  GivePlayerWeapon(playerid, 3, 1);
  SetPlayerColor(playerid,COLOR_BLUE);
  }
  else
  {
  SendClientMessage(playerid,0xFFFFFFFF,"You Need Atleast 600 Score Point To Become Cop!");
  }
    else // line 1691
  {
  SendClientMessage(playerid,0xFFFFFFFF,"You Are Already Cop!");
    }
  return 1;
  }
ERRORS

Код:
D:\GTA San Andreas\gamemodes\kfsr2.pwn(1691) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
need some help - by rs2fun111 - 11.01.2010, 16:01
Re: need some help - by lameguy - 11.01.2010, 16:31
Re: need some help - by rs2fun111 - 11.01.2010, 16:38
Re: need some help - by rs2fun111 - 11.01.2010, 16:50
Re: need some help - by lameguy - 11.01.2010, 17:39
Re: need some help - by rs2fun111 - 12.01.2010, 02:58
Re: need some help - by rs2fun111 - 12.01.2010, 11:42
Re: need some help - by lameguy - 12.01.2010, 12:55
Re: need some help - by rs2fun111 - 12.01.2010, 14:02

Forum Jump:


Users browsing this thread: 3 Guest(s)