SetPlayerVirtualWorld(playerid, HouseInfo[i][hVirtualWorld]);
SetPlayerVirtualWorld(playerid, 0);
if(strcmp(cmd, "/entrar", true) == 0) { if(IsPlayerConnected(playerid)) { for(new i = 0; i < sizeof(HouseInfo); i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])) { if(PlayerInfo[playerid][pPhousekey] == i || HouseInfo[i][hLock] == 0) { SetPlayerInterior(playerid, HouseInfo[i][hInt]); SetPlayerPos(playerid, HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]); GameTextForPlayer(playerid, "~w~bem vindo em casa", 5000, 1); PlayerInfo[playerid][pInt] = HouseInfo[i][hInt]; PlayerInfo[playerid][pLocal] = i; SetPlayerVirtualWorld(playerid, HouseInfo[i][hVirtualWorld]); } else { GameTextForPlayer(playerid, "~r~trancado", 5000, 1); } } }
if(strcmp(cmd, "/sair", true) == 0) { if(IsPlayerConnected(playerid)) { for(new i = 0; i < sizeof(HouseInfo); i++) { //printf("House :%d",i); if (PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz])) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez]); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); if(HouseInfo[i][hHel] == 1) { new Float:tempheal; GetPlayerHealth(playerid,tempheal); if(tempheal < 100.0) { SetPlayerHealth(playerid,100.0); } } } } [...]
Originally Posted by russooooo
Jб tens tantos tуpicos abertos, jб foste avisado para nгo abrir mais do que um tуpico e continuas a fazer a mesma porcaria. Nгo hб mais ajuda, desenrrasca-te.
|
Originally Posted by Caio Cartaxo
Irei comeзar hj um sistema
Q como vai funcionar... Vo por para no /sair Detectar qual e o virtualworld que ele estб Para sair na casa deste virtualworld que ele estб! Pq o /entrar estб corrento |
C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(1616) : error 021: symbol already defined: "HouseInfo" C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(1834) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(1863) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2191) : error 004: function "DetectorProx" is not implemented C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : error 012: invalid function call, not a valid address C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : error 001: expected token: ";", but found ")" C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : error 029: invalid expression, assumed zero C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors.
Originally Posted by Baddark2131
Bom eu fiz de acordo com esse site daki http://forum.sa-mp.com/index.php?topic=143553.0
e olha oque apareceu : Код:
C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(1616) : error 021: symbol already defined: "HouseInfo" C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(1834) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(1863) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2191) : error 004: function "DetectorProx" is not implemented C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : error 012: invalid function call, not a valid address C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : error 001: expected token: ";", but found ")" C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : error 029: invalid expression, assumed zero C:\Users\Ricardo\Desktop\Meu servidor\Brasil Xtreme Life\gamemodes\BXL.pwn(2266) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors. |
#include <moneyprotect>