Jump to content
  • 0

Probleme GM


Slipknot

Question

Salut SA-MP.Ro Ma Puteti Ajuta Cu Niste Erori Plz?

ERRORS:

[pawn]C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(2779) : error 017: undefined symbol "PlayAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3380) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3389) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3433) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3444) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3453) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3465) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3474) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3483) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3492) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3501) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3508) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3520) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3530) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3540) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3550) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3564) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3573) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3585) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3595) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3607) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(3616) : error 017: undefined symbol "StopAudioStreamForPlayer"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(6211) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(6220) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(6543) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP CREAT DE COKEJR WWW.SA-MP.RO\gamemodes\RO-RP.pwn(11678) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"

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

26 Errors.

[/pawn]

Vrei ceva? [email protected]

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Linia 2779:

[pawn]PlayAudioStreamForPlayer(playerid, "http://gta-cp.info/sounds/Godfather.mp3");[/pawn]

Linile 3380 - 3616

[pawn] if(house != 255)

{

    if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else

    {

SetPlayerToTeamColor(playerid);

SafeSetPlayerInterior(playerid,HouseInfo[house][hInt]);

SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);

SafeSetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player

PlayerInfo[playerid][pLocal] = house;

HouseEntered[playerid] = house;

StopAudioStreamForPlayer(playerid);

return 1;

}

}

if(PlayerInfo[playerid][pLeader] == 7)//Mayor spawn

{

    SetPlayerToTeamColor(playerid);

    SetPlayerInterior(playerid, 3);

    SetPlayerPos(playerid, 356.2998,151.9914,1025.7891);

    PlayerInfo[playerid][pInt] = 3;

PlayerInfo[playerid][pLocal] = 241;

StopAudioStreamForPlayer(playerid);

    return 1;

}

if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//Police Force spawn & S.R.I/ATF

{

SetPlayerToTeamColor(playerid);

    rand = random(sizeof(gCopPlayerSpawns));

SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]); // Warp the player

SetPlayerFacingAngle(playerid, 270.0);

StopAudioStreamForPlayer(playerid);

GivePlayerWeapon(playerid, 24, 50);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

return 1;

    }

    if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//S.R.I spawn

{

    SetPlayerToTeamColor(playerid);

    SetPlayerInterior(playerid, 5);

    SetPlayerPos(playerid, 322.197998,302.497985,999.148437);

    PlayerInfo[playerid][pInt] = 5;

    StopAudioStreamForPlayer(playerid);

    return 1;

}

if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//Armata Romana Guard spawn 1

{

    SetPlayerToTeamColor(playerid);

    SetPlayerInterior(playerid, 0);

    SetPlayerPos(playerid, 214.2741,1857.6990,13.1406);

    PlayerInfo[playerid][pInt] = 0;

    StopAudioStreamForPlayer(playerid);

    return 1;

}

if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//Fire/Ambulance spawn

{

    SetPlayerToTeamColor(playerid);

    SetPlayerInterior(playerid, 0);

    SetPlayerPos(playerid, -2687.6133,635.6542,14.4531);

    PlayerInfo[playerid][pInt] = 0;

    StopAudioStreamForPlayer(playerid);

    return 1;

}

if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//Clanul Frusin spawn

{

    SetPlayerToTeamColor(playerid);

    SetPlayerInterior(playerid, 0);

    SetPlayerPos(playerid, 2003.3966,1025.9917,10.8127);

    PlayerInfo[playerid][pInt] = 0;

    StopAudioStreamForPlayer(playerid);

    return 1;

}

if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)// Clanul Racean

{

    SetPlayerToTeamColor(playerid);

    SetPlayerInterior(playerid, 0);

    SetPlayerPos(playerid,  -2184.0188,644.7719,49.4375);

    SetPlayerFacingAngle(playerid, 183.2168);

    StopAudioStreamForPlayer(playerid);

    PlayerInfo[playerid][pInt] = 0;

    return 1;

}

    if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) //Hitman spawn

    {

        SetPlayerToTeamColor(playerid) ;

        StopAudioStreamForPlayer(playerid);

SetPlayerPos(playerid, -685.9933,939.5546,13.6328);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

        return 1;

    }

    if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) //News spawn

    {

        SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid, 1495.7322,1306.9055,1093.2891);

SetPlayerInterior(playerid,3);

PlayerInfo[playerid][pInt] = 3;

StopAudioStreamForPlayer(playerid);

        return 1;

    }

    if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi Cab Company spawn

    {

        SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid, -1968.8263,159.6721,27.6875);

SetPlayerFacingAngle(playerid, 178.8066);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

StopAudioStreamForPlayer(playerid);

        return 1;

    }

    if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) //Clanul Camataru spawn

    {

        SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid, 1125.6251,-2036.9811,69.8807);

SetPlayerFacingAngle(playerid, 270.8306);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

StopAudioStreamForPlayer(playerid);

        return 1;

    }

    if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) //Tow Car Commpany spawn

    {

        SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid, 915.5807,-1252.0120,15.6641);

SetPlayerFacingAngle(playerid, 85.2022);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

StopAudioStreamForPlayer(playerid);

GivePlayerWeapon(playerid, 41, 30);

GivePlayerWeapon(playerid, 42, 30);

        return 1;

  }

    if(IsAnInstructor(playerid)) //Driving/Flying School spawn

    {

if(SchoolSpawn[playerid] == 0)

{

        SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid, -2026.4177,-100.1648,35.1641);

SetPlayerFacingAngle(playerid, 352.6556);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

StopAudioStreamForPlayer(playerid);

}

else if(SchoolSpawn[playerid] == 1)

{

SetPlayerToTeamColor(playerid);

SetPlayerPos(playerid, 414.4144,2531.9580,19.1565);

SetPlayerFacingAngle(playerid, 4.6505);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

StopAudioStreamForPlayer(playerid);

}

        return 1;

    }

    if ((gTeam[playerid]) == 1)

    {

SetPlayerToTeamColor(playerid);

rand = random(sizeof(gMedPlayerSpawns));

SetPlayerPos(playerid, gMedPlayerSpawns[rand][0], gMedPlayerSpawns[rand][1], gMedPlayerSpawns[rand][2]); // Warp the player

SetPlayerFacingAngle(playerid, 179.7702);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

StopAudioStreamForPlayer(playerid);

return 1;

}

if(PlayerInfo[playerid][pFMember] != 255)

{

    new family = PlayerInfo[playerid][pFMember];

    SetPlayerToTeamColor(playerid);

    SetPlayerInterior(playerid, FamilyInfo[family][FamilyInterior]);

    SetPlayerPos(playerid, FamilyInfo[family][FamilySpawn][0],FamilyInfo[family][FamilySpawn][1],FamilyInfo[family][FamilySpawn][2]);

    SetPlayerFacingAngle(playerid, FamilyInfo[family][FamilySpawn][3]);

    StopAudioStreamForPlayer(playerid);

    return 1;

}

    else

    {

SetPlayerToTeamColor(playerid);

if(PlayerInfo[playerid][pOrigin] >= 1)//Judetele

{

    SetPlayerPos(playerid,1222.5538,-1692.6826,19.7293);

SetPlayerFacingAngle(playerid, 274.5771);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

StopAudioStreamForPlayer(playerid);

}

    else

{

rand = random(sizeof(gRandomPlayerSpawns));

SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player

SetPlayerFacingAngle(playerid, 280.0);

SetPlayerInterior(playerid,15);

PlayerInfo[playerid][pInt] = 15;

StopAudioStreamForPlayer(playerid);

}

return 1;

}

}

printf("TEST EXTREM COMPLET !");

return 1;

}[/pawn]

Linia 6211:

[pawn]ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"Intra",loginstring,"Intra","Iesi");[/pawn]

Linia 6220:

[pawn]ShowPlayerDialog(playerid,12345,DIALOG_STYLE_PASSWORD,"Intra",regstring,"Intra","Iesi");[/pawn]

Linia 6543:

[pawn]ShowPlayerDialog(i,12346,DIALOG_STYLE_PASSWORD,"Intra",loginstring,"Intra","Iesi");[/pawn]

Linia 11678:

[pawn]ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"Intra",loginstring,"Intra","Iesi");[/pawn]

Vrei ceva? [email protected]

Link to comment
Share on other sites

Am rezolvat cateva dar miau mai ramas urmatorele:

[pawn]C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP.pwn(6214) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP.pwn(6214) : error 029: invalid expression, assumed zero

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP.pwn(6214) : fatal error 107: too many error messages on one line

C:\Documents and Settings\RobyBlackMetal\Desktop\RO-RP.pwn(6214) : error 029: invalid expression, assumed zero[/pawn]

Linia 6214:

[pawn]ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"Intra",loginstring,"Intra","Iesi");[/pawn]

Vrei ceva? [email protected]

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.