[AJUDA]Spawns Para Cada Time - 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: [AJUDA]Spawns Para Cada Time (
/showthread.php?tid=342015)
[AJUDA]Spawns Para Cada Time -
Jake_Dunlapp - 12.05.2012
PHP код:
public OnPlayerSpawn(playerid)
{
if(classid == 0) {;
SetPlayerPos(playerid,-1615.7268,686.2352,7.1875);
if(classid == 1) {;
SetPlayerPos(playerid,-1818.8645,-183.8867,9.3984);
SetPlayerInterior(playerid,0);
return 1;
}
PHP код:
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(77) : error 017: undefined symbol "classid"
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(77) : error 036: empty statement
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(78) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(79) : error 017: undefined symbol "classid"
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(79) : error 036: empty statement
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(80) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(85) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(85) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(85) : error 004: function "OnPlayerDeath" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(90) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(90) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(90) : error 004: function "OnVehicleSpawn" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(95) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(95) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(95) : error 004: function "OnVehicleDeath" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(100) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(100) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(100) : error 004: function "OnPlayerText" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(105) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(105) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(105) : error 004: function "OnPlayerCommandText" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(107) : error 017: undefined symbol "cmdtext"
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(118) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(118) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(118) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(123) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(123) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(123) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(128) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(128) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(128) : error 004: function "OnPlayerStateChange" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(133) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(133) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(133) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(138) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(138) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(138) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(143) : warning 225: unreachable code
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(143) : error 029: invalid expression, assumed zero
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Re: [AJUDA]Spawns Para Cada Time -
.FuneraL. - 12.05.2012
pawn Код:
public OnPlayerSpawn(playerid)
{
if(classid == 0)
{
SetPlayerPos(playerid,-1615.7268,686.2352,7.1875);
}
if(classid == 1)
{
SetPlayerPos(playerid,-1818.8645,-183.8867,9.3984);
}
SetPlayerInterior(playerid,0);
return 1;
}
Tenta aн ^^
Re: [AJUDA]Spawns Para Cada Time -
zbt - 12.05.2012
pawn Код:
public OnPlayerRequestClass(playerid, classid) {
switch(classid) {
case 0: SetPlayerPos(playerid,-1615.7268,686.2352,7.1875);
case 1: SetPlayerPos(playerid,-1818.8645,-183.8867,9.3984), SetPlayerInterior(playerid,0);
}
return 1;
}
Re: [AJUDA]Spawns Para Cada Time -
Jake_Dunlapp - 12.05.2012
Hehe Gente Ja Consegui Eu Mudei La No AddPlayerClass