24 errors :S
#1

ERROR:
pawn Код:
:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(846) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(848) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(849) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(850) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(852) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(854) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(855) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(856) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(858) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(860) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(861) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(862) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(864) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(866) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(867) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(868) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(870) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(872) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(873) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(874) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(876) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(878) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(879) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Aron.MONSTER\Desktop\Samp\gamemodes\CGTDM.pwn(880) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


24 Errors.
Code:
pawn Код:
(844)public aeg()
(845){
(846)   if(KV[playerid] == 1)
(847)   {
(848)KV[playerid] = 2; // Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint
(849)SetPlayerCheckpoint(playerid, 1026.2439,2238.5410,10.8203, 3.0);
(850)SendClientMessage(playerid, 0xFFFFFFFF, "Kaup peal! Mine vii nььd kaup laiali! (0/5)");
(851)}
(852)if(KV[playerid] == 2)
(853){
(854) KV[playerid] = 3; // Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint
(855) SetPlayerCheckpoint(playerid, 1031.7626,2346.2356,10.8203, 3.0);
(856) SendClientMessage(playerid, 0xFFFFFFFF, "Kaup on maha laetud! Mine sхida jдrgmisse kohta! (1/5)");
(857)}
(858)if(KV[playerid] == 3)
(859){
(860)KV[playerid] = 4; // Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint
(861)SetPlayerCheckpoint(playerid, 971.1744,1776.6707,8.8581, 3.0);
(862)SendClientMessage(playerid, 0xFFFFFFFF, "Kaup on maha laetud! Mine sхida jдrgmisse kohta! (2/5)");
(863)}
(864)if(KV[playerid] == 4)
(865){
(866) KV[playerid] = 5; // Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint
(867) SetPlayerCheckpoint(playerid, 1044.6626,1305.9841,10.8203, 3.0);
(868) SendClientMessage(playerid, 0xFFFFFFFF, "Kaup on maha laetud! Mine sхida jдrgmisse kohta! (3/5)");
(869)   }
(870)   if(KV[playerid] == 5)
(871)   {
(872) KV[playerid] = 6; // Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint
(873) SetPlayerCheckpoint(playerid, 1164.6003,1364.6831,10.8203, 3.0);
(874) SendClientMessage(playerid, 0xFFFFFFFF, "Kaup on maha laetud! Mine sхida jдrgmisse kohta! (4/5)");
(875)   }
(876)   if(KV[playerid] == 6)
(877)   {
(878) SendClientMessage(playerid, 0xFFFFFFFF, "Kaup on maha laetud! (5/5)");
(879) SendClientMessage(playerid, 0xFFFFFFFF, "Su tцц on tehtud! Palk +$17200");
(880) GivePlayerMoney(playerid,17200);
(881)   }
(882)}
Reply
#2

Callback aeg do not have parameter playerid.
Reply
#3

pawn Код:
forward aeg(playerid);
public aeg(playerid)
Reply
#4

Quote:
Originally Posted by Ardenshy
Посмотреть сообщение
Callback aeg do not have parameter playerid.
Quote:
Originally Posted by Matess
Посмотреть сообщение
pawn Код:
forward aeg(playerid);
public aeg(playerid)
WoW! Very fast! Thank you guys very much!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)