Szerző Téma: 0.3e Stay within the world boundaries bug  (Megtekintve 1749 alkalommal)

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
0.3e Stay within the world boundaries bug
« Dátum: 2012. Március 25. - 17:11:51 »
0 Show voters
Helló!
Sikerült átraknom a módomat 0.3d-rõl 0.3e-re, de amikor felmegyek, akkor ez a szöveg fogad:
Stay within the world boundaries Nem tudok semmit sem csinálni, mert ott van...

0.3e Stay within the world boundaries bug
« Válasz #1 Dátum: 2012. Március 25. - 18:00:57 »
0 Show voters
Keress rá a módodban erre
http://wiki.sa-mp.com/wiki/SetPlayerWorldBounds
és ved ki.

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
0.3e Stay within the world boundaries bug
« Válasz #2 Dátum: 2012. Március 25. - 18:08:17 »
0 Show voters
Kiszedtem az összeset( // ), de ugyan az a hiba...
« Utoljára szerkesztve: 2012. Március 27. - 19:59:13 írta Erik3333 »

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
0.3e Stay within the world boundaries bug
« Válasz #3 Dátum: 2012. Március 27. - 19:58:58 »
0 Show voters
Most mi legyen?

Nem elérhető Dead

  • 2045
    • Profil megtekintése
0.3e Stay within the world boundaries bug
« Válasz #4 Dátum: 2012. Március 27. - 21:13:15 »
0 Show voters
Rossz helyre spawnolsz. Valahogy írd át a spawnhoz kapcsolódó  koordinátálat.

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
0.3e Stay within the world boundaries bug
« Válasz #5 Dátum: 2012. Március 27. - 21:32:40 »
0 Show voters
MySQL-ból olvassa ki a kilépés koordinátáit, és aszerint spawnol.

Nem elérhető Casamiro

  • 1046
    • Profil megtekintése
0.3e Stay within the world boundaries bug
« Válasz #6 Dátum: 2012. Március 27. - 21:34:28 »
0 Show voters
Szúrd be az OnPlayerSpawn alá:
SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
0.3e Stay within the world boundaries bug
« Válasz #7 Dátum: 2012. Március 27. - 22:06:20 »
0 Show voters
Így raktam be, de nem jó:
 
public OnPlayerSpawn(playerid)
{
SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);
if(IsPlayerNPC(playerid))
{
/*if(egyezik(PlayerName(playerid), \"NPC_Arveres\"))
{
   //SetPlayerPos(playerid, -1661.306, 1203.361, 21.156);
   //SetPlayerFacingAngle(playerid, 336.907);
   SetPlayerSkin(playerid, 141);
   //SendClientMessageToAll(COLOR_WHITE, \"NPC SPAWNED\");
}
else if(egyezik(PlayerName(playerid), \"NPC_Buszsofor\"))
   PutPlayerInVehicle(playerid, Buszok[0], 0);*/
//SetTimerEx(\"NPCSpawn\", 3000, false, \"d\", playerid);
NPCSpawn(playerid);
return 1;
}
if(Logged(playerid) == 0)
return 1;
else if(PlayerPaintballing[playerid] != 1)
SpawnVedelem[playerid] = 5;
/*if(Skinsel[playerid] == 1)
{
    PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
    Skinsel[playerid] = 0;
}*/
    //TextDrawShowForPlayer(playerid, Textdraw2);
STDPlayer[playerid] = 0;
//if(LMT(playerid, LMUNKA_SCPD) || LMT(playerid, LMUNK_SFPD) || LMT(playerid, LMUNKA_LSMD) || LMT(playerid, LMUNKA_SFMD) || LMT(playerid, LMUNKA_FBI) || LMT(playerid, LMUNKA_KATONA))
if(PlayerInfo[playerid][pChar] > 0 && OnDuty[playerid] || PlayerInfo[playerid][pChar] > 0 && !LegalisSzervezetTagja(playerid) && !Civil(playerid))
SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
else
SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
SetPlayerSpawn(playerid);
SetPlayerToTeamColor(playerid);
PlayerFixRadio(playerid);
for(new i = 0; i < sizeof(Turfs); i++)
{
    GangZoneShowForPlayer(playerid, i, TurfInfo[zColor]);
}
/*if(MapIconsShown[playerid] != 1)
{
    MapIconsShown[playerid] = 1;
    for(new i = 0; i < sizeof(BizzInfo); i++)
{
   SetPlayerMapIcon(playerid,i + 1,BizzInfo[bEntranceX],BizzInfo[bEntranceY],BizzInfo[bEntranceZ],36,COLOR_LIGHTRED);
}
}*/
PlayerInfo[playerid][pSpawned] = 1;
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 100);
#if defined JohnCucc
if(!LegalisSzervezetTagja(playerid) && !Civil(playerid) || Admin(playerid, 1337))
TeruletekMutatasa(playerid);
#endif
GangZoneShowForPlayer(playerid, Fegyenctelep, COLOR_GREEN);
GangZoneShowForPlayer(playerid, Fegyenctelep2, COLOR_GREEN);
return 1;
}

 

Dupla hozzászólás automatikusan összefûzve. ( 2012. Március 28. - 21:43:58 )

Vagy hova kellene rakni?

Dupla hozzászólás automatikusan összefûzve. ( 2012. Március 28. - 21:44:19 )

Vagy hova kellene rakni?
« Utoljára szerkesztve: 2012. Március 28. - 21:44:19 írta Erik3333 »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal