15.03.2013, 22:53
Quote:
try this. you know where to put this. so help your self
pawn Код:
|
Код:
C:\Documents and Settings\Administrador\Escritorio\Gang Wars\gamemodes\GangWars.pwn(1054) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrador\Escritorio\Gang Wars\gamemodes\GangWars.pwn(1058) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Escritorio\Gang Wars\gamemodes\GangWars.pwn(1061) : error 010: invalid function or declaration
pawn Код:
public OnPlayerRequestClass(playerid, classid)
}
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4
classid == 5 || classid == 5 || classid == 6 || classid == 7 || classid == 8)
{
GameTextForPlayer(playerid, "Grove Street", 1000, 5);
}
Doing this:
Quote:
pawn Код:
|
Код:
C:\Documents and Settings\Administrador\Escritorio\Gang Wars\gamemodes\GangWars.pwn(1062) : error 054: unmatched closing brace ("}") C:\Documents and Settings\Administrador\Escritorio\Gang Wars\gamemodes\GangWars.pwn(1066) : error 010: invalid function or declaration
pawn Код:
public OnPlayerRequestClass(playerid, classid)
switch(classid)
{
case 0 .. 8:
{
GameTextForPlayer(playerid, "~g~Grove Street", 1000, 5);
}
}
}
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}