[Ajuda] Como solucionar esse problema?
#1

Estou montando um GM, em cima de outro GM, ou sejб, estou pegando algumas coisas que acho legal e to montando do 0%.

E por eu ser iniciante me atrapalho um pouco.

Se algum puder me ajudar nesse erro eu agradeзo, e dou reputaзгo.

Erro:
Код:
C:\Users\DaviWindows\Desktop\[CSMBR].pwn(488) : error 002: only a single statement (or expression) can follow each "case"
C:\Users\DaviWindows\Desktop\[CSMBR].pwn(488) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Linhas do erro:
pawn Код:
Public OnPlayerRequestClass(playerid, classid)
{

    //Set up the class selection
    SetPlayerPos(playerid,1984.4445,157.9501,55.9384); // PLAYER
    SetPlayerCameraPos(playerid,1984.4445,160.9501,55.9384); // CAMERA
    SetPlayerCameraLookAt(playerid,1984.4445,157.9501,55.9384); // CAMERA
    SetPlayerFacingAngle(playerid, 0.0); // ANGULO
    ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);//
   
    switch (classid)
    {
        case 0:
        {
         GameTextForPlayer(playerid, "~b~Civil~n~~w~Civil habitante da cidade.", 3000, 5);
        }
        case 1:
        {
        GameTextForPlayer(playerid, "~b~Oficial da Policia~n~~w~Defensor da Cidade.", 3000, 5);
        }
        case 2:
        {
        GameTextForPlayer(playerid, "~b~Bandido~n~~w~Fazendo o mau para a cidade.", 3000, 5);
        }
    return 1;
}
Reply


Messages In This Thread
Como solucionar esse problema? - by davi54723 - 10.11.2012, 16:52
Re: Como solucionar esse problema? - by Don_Speed - 10.11.2012, 16:57
Re: Como solucionar esse problema? - by davi54723 - 10.11.2012, 16:59
Re: Como solucionar esse problema? - by Wendell - 10.11.2012, 17:02
Re: Como solucionar esse problema? - by davi54723 - 10.11.2012, 17:05
Re: Como solucionar esse problema? - by Wendell - 10.11.2012, 17:07
Re: Como solucionar esse problema? - by Don_Speed - 10.11.2012, 17:08
Re: Como solucionar esse problema? - by Wendell - 10.11.2012, 17:11
Re: Como solucionar esse problema? - by Don_Speed - 10.11.2012, 17:20
Re: Como solucionar esse problema? - by Wendell - 10.11.2012, 17:23

Forum Jump:


Users browsing this thread: 1 Guest(s)