SA-MP Forums Archive
help me plz - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: help me plz (/showthread.php?tid=444154)



help me plz - LKING - 15.06.2013

C:\Nova pasta\GM\gamemodes\eldm.pwn(256) : warning 215: expression has no effect
C:\Nova pasta\GM\gamemodes\eldm.pwn(257) : warning 215: expression has no effect
C:\Nova pasta\GM\gamemodes\eldm.pwn(272) : warning 215: expression has no effect
C:\Nova pasta\GM\gamemodes\eldm.pwn(28 : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 2120 bytes
Code size: 51532 bytes
Data size: 21124 bytes
Stack/heap size: 16384 bytes; estimated max. usage=1014 cells (4056 bytes)
Total requirements: 91160 bytes

4 Warnings.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
        SetPlayerPos(playerid, 2004.7404,1913.8379,40.3516);
        SetPlayerFacingAngle(playerid,264.7556);
        SetPlayerTime(playerid, 0,0);
256:  InterpolateCameraPos(playerid,2013.6698,1913.9120,35.0304,2013.6698,1913.9120,35.0304+100,10000);
257:  InterpolateCameraLookAt(playerid,2004.7404,1913.8379,40.3516,2004.7404,1913.8379,40.3516+50,10000);
        return 1;
}

public OnPlayerConnect(playerid)
{

    #define PlayAudioStreamForPlayer
        new str[78], pnome[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pnome, sizeof(pnome));
       format(str, sizeof(str), "{1E90FF}%s {006400}(ID:%d) {B22222}Connected To The Server.", pnome, playerid);
       SendClientMessageToAll(-1, str);
       TextDrawShowForPlayer(playerid, Textdraw1);
272: PlayAudioStreamForPlayer(playerid, "http://rapha3l.comyr.com/eldm/songs/intro.mp3");
       return 1;
}

public OnPlayerSpawn(playerid)
{
    #define StopAudioStreamForPlayer
        GivePlayerMoney(playerid,5000);
    GivePlayerWeapon(playerid,4,1);
    GivePlayerWeapon(playerid,31,9999);
    GivePlayerWeapon(playerid,1,0);
    new Random = random(sizeof(RandomSpawns));
        SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
        SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
288:  StopAudioStreamForPlayer(playerid);
    return 1;
}



Re: help me plz - Prefacio - 15.06.2013

Ta falando que
pawn Код:
expressгo nгo tem efeito



Re: help me plz - focaximubh - 15.06.2013

Atualize suas includes corretamente e re-compile seu GameMode