#1

C:\Users\Drake\Downloads\The Forsaken\The Forsaken\gamemodes\lsrl(1836) : error 012: invalid function call, not a valid address
C:\Users\Drake\Downloads\The Forsaken\The Forsaken\gamemodes\lsrl(1836) : warning 215: expression has no effect
C:\Users\Drake\Downloads\The Forsaken\The Forsaken\gamemodes\lsrl(1836) : warning 215: expression has no effect
C:\Users\Drake\Downloads\The Forsaken\The Forsaken\gamemodes\lsrl(1836) : error 001: expected token: ";", but found ")"
C:\Users\Drake\Downloads\The Forsaken\The Forsaken\gamemodes\lsrl(1836) : error 029: invalid expression, assumed zero
C:\Users\Drake\Downloads\The Forsaken\The Forsaken\gamemodes\lsrl(1836) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Please help me
Reply
#2

Please show the error lines

Yes the whole part of the code then (Post whole command if its a command, whole function if its a function etc.)
Reply
#3

ublic Tazed(playerid)
{
if(IsPlayerConnected(playerid))
{
playerinfo[playerid][taze]--;
if(playerinfo[playerid][taze]>-1)
{
SetTimerEx("Tazed",1000,0,"d",playerid);
}
else
{
1836 Freeze(playerid,0);
ClearAnimations(playerid);
playerinfo[playerid][afk]=0;
}

}
}
Reply
#4

the ''1836'' is the line
Reply
#5

None? :S
Reply
#6

Try TogglePlayerControllable(playerid,0);
Reply
#7

Instead of Freeze(playerid,0); Use TogglePlayerControllable(playerid, 0);

Or put this at bottom of your script:
pawn Код:
stock Freeze(playerid, toggle)
{
  TogglePlayerControllable(playerid, toggle);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)