[POMOC] RemoveBuildingforPlayer

Započeo #woLF, Avgust 10, 2013, 16:06:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moja skripta
Detaljan opis problema:Ubacio sam mapu i sad kad je kompaljam doÄ'e error
Dio skripte:
Errori koje izbaciva:
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14811) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14812) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14813) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14814) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14815) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14942) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14943) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14944) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14945) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14946) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14947) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14948) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14949) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14950) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14951) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14952) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


16 Errors.


Dio skripte:

RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);

Neke slike/video za lakse dobivanje pomoci(neobavezno):/


Citat: [MG]C++ poslato Avgust 10, 2013, 16:09:10 POSLE PODNE
pa to ide pod OnPlayerConnect

Probao sam ali opet error izbaci mozes li ti napisati kod kopiraj ovo moje i napisi kako bi trebalo ici.

kod mene radi!
dali si ovako napisao OnPlayerConnect?
public OnPlayerConnect(playerid)
69


public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);
}


Ovako ?
Sad doÄ'u ovi errori

C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14811) : error 029: invalid expression, assumed zero
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14811) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14813) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14814) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14815) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14816) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14817) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14944) : error 029: invalid expression, assumed zero
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14944) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14946) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14947) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14948) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14949) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14950) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14951) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14952) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14953) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14954) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14955) : error 017: undefined symbol "playerid"
C:\Users\Oksy\Desktop\Balkan Evolution RP v 2.0.7\gamemodes\BERPOksy.pwn(14956) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


20 Errors.

ne volim kada neko laze dok skripta i trazi pomoc..
kako ti moze onplayerconnect raditi bez returna ? molim te, nisi ni poslusao njihov savet a odmah trazis novu pomoc, stavi to pod onplayerconnect

public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);
return 1;
}


Opet izbaciva error :D