little help
#1

well i know how to add gates stuff like that to make it move but I have an area which is going to be captured and the gates only open to the people who has it.

also here is anothe rproblem
pawn Код:
SetTimerEx("TK",5000,0, %d, killerid);
problems
(207) : error 029: invalid expression, assumed zero
(207) : error 017: undefined symbol "d"
(207) : error 029: invalid expression, assumed zero
(207) : fatal error 107: too many error messages on one line
Reply
#2

Код:
SetTimerEx("TK", 5000, 0, "i", killerid);
Reply
#3

I know how to do it, but what does "i" stand for?
Reply
#4

Integer. "d" can be used too.
Reply
#5

i = intger d = decimal f = float s = string

hope that helps
Reply
#6

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(gTeam[killerid] == gTeam[playerid])
    {
  SendClientMessage(killerid,0xAA3333AA,"You can't team kill,this is unfair,you are now frozen for 5 seconds.");
  TogglePlayerControllable(killerid,0);
  SetTimerEx("AA", 5000, 0, "i", killerid); //Teamkill
    }
    return 1;
}
public AA(playerid)
{
  TogglePlayerControllable(playerid, 1);
  SendClientMessage(playerid, 0xAA3333AA, "* You have been unfrozen!");
  return 1;
}
pawn Код:
forward AA();
(211) : error 025: function heading differs from prototype
Reply
#7

Код:
forward AA(playerid);
Reply
#8

Quote:
Originally Posted by big comfy couch
Код:
forward AA(playerid);
Thanks alot!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)