Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato Februar 12, 2020, 15:18:18 POSLE PODNE

Naslov: Errori iz mape "undefined simbol playerid"
Poruka od: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato Februar 12, 2020, 15:18:18 POSLE PODNE
Problem(error/warning): Odjednom samo mi izadjose ovi errori iz mape, kad sam ubacio neke nove mape, dobro sam ih ubacio..
Dio skripte: [pawn]AGMape.pwn(24074) : error 017: undefined symbol "playerid"
AGMape.pwn(24075) : error 017: undefined symbol "playerid"
AGMape.pwn(24076) : error 017: undefined symbol "playerid"
AGMape.pwn(24077) : error 017: undefined symbol "playerid"
AGMape.pwn(24078) : error 017: undefined symbol "playerid"
AGMape.pwn(24079) : error 017: undefined symbol "playerid"
AGMape.pwn(24080) : error 017: undefined symbol "playerid"
AGMape.pwn(24081) : error 017: undefined symbol "playerid"
AGMape.pwn(24082) : error 017: undefined symbol "playerid"
AGMape.pwn(24083) : error 017: undefined symbol "playerid"[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): //
Naslov: Odg: Errori iz mape "undefined simbol playerid"
Poruka od: Shaw Salcedo poslato Februar 12, 2020, 15:20:02 POSLE PODNE
Verovatno je RemoveBuildingForPlayer, to moras pod onplayerconnect
Naslov: Odg: Errori iz mape "undefined simbol playerid"
Poruka od: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato Februar 12, 2020, 15:25:08 POSLE PODNE
Citat: Kriso poslato Februar 12, 2020, 15:20:02 POSLE PODNE
Verovatno je RemoveBuildingForPlayer, to moras pod onplayerconnect
Evo ti kako pocinje pwn sa mapama:
[pawn]#include <a_samp>
stock ObrisiObjekte( playerid ) {

//
    //Ballas Ext
   RemoveBuildingForPlayer(playerid, 1226, 2168.953, -1416.218, 26.773, 0.250);
   RemoveBuildingForPlayer(playerid, 1221, 2168.476, -1405.914, 23.335, 0.250);
   RemoveBuildingForPlayer(playerid, 1230, 2168.359, -1401.835, 23.265, 0.250);
   RemoveBuildingForPlayer(playerid, 1221, 2168.546, -1400.421, 23.335, 0.250);
   RemoveBuildingForPlayer(playerid, 1220, 2168.507, -1399.828, 23.265, 0.250);
   RemoveBuildingForPlayer(playerid, 1283, 2129.945, -1397.023, 26.093, 0.250);
   RemoveBuildingForPlayer(playerid, 645, 2122.421, -1394.976, 22.406, 0.250);
   RemoveBuildingForPlayer(playerid, 1226, 2168.953, -1472.820, 26.773, 0.250);
    // Otpad smeca true

   RemoveBuildingForPlayer( playerid, 3421, 2351.8281, -652.9219, 129.1875, 0.25);
   RemoveBuildingForPlayer( playerid, 3414, 2351.8281, -652.9219, 129.1875, 0.25);
   /////////////////////////AUTO SKOLA BY FRENKIE////////////////////////////////[/pawn]
A evo ti on player connect:
[pawn]public OnPlayerConnect( playerid ) {


    ServerInfo[ BrojPosetaServeru ]++;
   CheckRekord( );
   SetTimerEx("RekordTimer", 3000, false, "d", playerid);
   ObrisiObjekte( playerid );
    ResetPlayer( playerid );
   
   SetPlayerVirtualWorld(playerid, (playerid + 2000));
    SetPlayerColor(playerid, 0xAFAFAF00);[/pawn]
Tako da mislim da je sve dobro uradjeno..
Naslov: Odg: Errori iz mape "undefined simbol playerid"
Poruka od: Shaw Salcedo poslato Februar 12, 2020, 15:26:25 POSLE PODNE
A gde ti izbacuje errore?
Naslov: Odg: Errori iz mape "undefined simbol playerid"
Poruka od: ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ poslato Februar 12, 2020, 15:40:21 POSLE PODNE
Citat: Kriso poslato Februar 12, 2020, 15:26:25 POSLE PODNE
A gde ti izbacuje errore?
Aaa fixo sam iso sam do te linije i prebacio gore