Jump to content
  • 0

Erori


SiNuS

Question

[pawn]C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(54) : error 004: function "OnPlayerPause" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(59) : error 004: function "OnPlayerUnPause" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2430) : warning 202: number of arguments does not match definition

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2433) : error 017: undefined symbol "OnlinePlayers"

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2434) : error 035: argument type mismatch (argument 1)

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2435) : error 017: undefined symbol "players"

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2465) : error 004: function "SendIRCMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2487) : error 004: function "SendIRCMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2818) : error 004: function "OOCOff" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2830) : error 004: function "OOCOff" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2850) : error 004: function "OOCOff" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2858) : error 004: function "OOCOff" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2869) : error 004: function "samc_OnPlayerUpdate" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(2871) : error 004: function "SaveAccounts" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3002) : error 004: function "RemoveRoadblock" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3411) : error 004: function "ABroadCast" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3493) : error 004: function "SendFamilyMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3585) : error 004: function "SendMAFIAMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3587) : error 004: function "SendTRIADSMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3600) : error 004: function "SendTRIADSMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3602) : error 004: function "SendMAFIAMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3615) : error 004: function "SendGROVEMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3617) : error 004: function "SendBALLASMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3630) : error 004: function "SendBALLASMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3632) : error 004: function "SendGROVEMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3645) : error 004: function "SendLSVMessage" is not implemented

C:\Documents and Settings\andrei\Desktop\Sa-mp\gamemodes\TGM.pwn(3647) : error 004: function "SendVLAMessage" is not implemented

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

26 Errors.[/pawn]

De la ce erorile astea ? Rezolv unele si imi da altele

userbar6.jpg
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Da, rezolv unele si imi da altele , cateodata mie se compileaza , e normal ? am mai umblat si imi da acum 12 erori :)

Dar erorile care mi le mai da sunt din paused.inc

[pawn]//VERSION 2.1

#define ACCURACY 500 //Lowering this it will make it more accurate, but it could use more CPU. (Do not lower it above 500 MS)

forward C_Paused(playerid);

forward OnPlayerPause(playerid);

forward OnPlayerUnPause(playerid);

new g_Paused[MAX_PLAYERS];

new g_Timer[MAX_PLAYERS];

new bool:g_Requesting[MAX_PLAYERS];

new bool:g_IsPaused[MAX_PLAYERS];

P_OnPlayerConnect(playerid)

{

    g_IsPaused[playerid] = false;

    g_Requesting[playerid] = false;

    g_Timer[playerid] = SetTimerEx("C_Paused", ACCURACY, 1, "i", playerid);

    return 1;

}

P_OnPlayerUpdate(playerid)

{

    g_Paused[playerid] = GetTickCount();

    return 1;

}

P_OnPlayerRequestClass(playerid)

{

g_Requesting[playerid] = true;

g_IsPaused[playerid] = false;

return 1;

}

P_OnPlayerDisconnect(playerid)

{

KillTimer(g_Timer[playerid]);

    g_Requesting[playerid] = false;

    g_IsPaused[playerid] = false;

return 1;

}

P_OnPlayerSpawn(playerid)

{

g_Requesting[playerid] = false;

g_IsPaused[playerid] = false;

return 1;

}

public C_Paused(playerid)

{

    if(GetTickCount()-g_Paused[playerid] > ACCURACY && g_Requesting[playerid] != true && g_IsPaused[playerid] != true && InvalidStates(playerid) != 1)

{

OnPlayerPause(playerid);

g_IsPaused[playerid] = true;

}

else if(GetTickCount()-g_Paused[playerid] < ACCURACY && g_Requesting[playerid] != true && g_IsPaused[playerid] != false && InvalidStates(playerid) != 1)

{

    OnPlayerUnPause(playerid);

    g_IsPaused[playerid] = false;

}

return 1;

}

stock IsPlayerPaused(playerid)

{

return g_IsPaused[playerid];

}

stock InvalidStates(playerid)

{

new pState = GetPlayerState(playerid);

    if(pState == 0 || pState == 7)

    {

return 1;

}

else

{

return 0;

}

}[/pawn]

Astea au fost liniile , iata si erorile cele noi care mi le da acum

[pawn]

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(9) : error 017: undefined symbol "MAX_PLAYERS"

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(9) : error 009: invalid array size (negative, zero or out of bounds)

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(10) : error 017: undefined symbol "MAX_PLAYERS"

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(10) : error 009: invalid array size (negative, zero or out of bounds)

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(11) : error 017: undefined symbol "MAX_PLAYERS"

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(11) : error 009: invalid array size (negative, zero or out of bounds)

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(12) : error 017: undefined symbol "MAX_PLAYERS"

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(12) : error 009: invalid array size (negative, zero or out of bounds)

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(18) : error 017: undefined symbol "SetTimerEx"

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(18) : warning 215: expression has no effect

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(18) : warning 215: expression has no effect

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(18) : warning 215: expression has no effect

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(18) : warning 215: expression has no effect

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(18) : warning 215: expression has no effect

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(18) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(18) : error 029: invalid expression, assumed zero

C:\Documents and Settings\andrei\Desktop\Sa-mp\pawno\include\paused.inc(18) : fatal error 107: too many error messages on one line

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

12 Errors.

[/pawn]

userbar6.jpg
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.