10.11.2012, 16:52
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:
Linhas do erro:
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.
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;
}