Skripta koju koristim:BG
Detaljan opis problema: Napravio sam oko 20 24/7 Marketa i u bilo koji udes svi su igraci u jednom intu kako da to popravim :D
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Koristi razlicite VW http://wiki.sa-mp.com/wiki/SetPlayerVirtualWorld
Znaci svaki puta povecam za 1??
Citat: "BG" Ra[K]uN " poslato Novembar 12, 2011, 20:05:04 POSLE PODNE
Znaci svaki puta povecam za 1??
Da i kada izlazi vracas na 0
A mozes koristiti i pri izlasku da se nebi pomesali svih 20 http://wiki.sa-mp.com/wiki/GetPlayerVirtualWorld pa proveravas koji je VW ako je npr. 1 vracas ga napolje kod 1. Ali ako vec imas napravljen neki slican i bez tog i radi onda ne moras samo stavis da kada izadje VW bude na 0
ma kad izlazi je ok ali kad ulazim je sve u jednom intu :D
MOras stavit na izlaz da mu postavi 0 jer ce ti ljudi bit u razlicitim vw-ima kada izadju
ok ako moze primjer na ovo inace mi je ovo komanda za ulazak u int
if(IsPlayerInRangeOfPoint(playerid,3.0, 1315.4563,-898.1602,39.5781)) //24/7 Burg
{
GameTextForPlayer(playerid, "~g~24/7", 5000, 1);
SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,-25.884498,-185.868988,1003.546875);
burg = true;
}
i sad tu dodajem ovo jel da??
SetPlayerVirtualWorld(playerid, 3);
Da dodas to kao primer i onda na sledeci VW 4. I tako redom. I na izlaz svaki stavis na 0 da vraca
ewo radio sam i ewo erroea nekakvih
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3834) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3842) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3850) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3858) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3866) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3874) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3882) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3890) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3898) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3906) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3914) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3922) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3930) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3938) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3946) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
15 Errors.
ewo linije a ostale su iste samo imaju ime drugacije nezz sta tu nevalja sve je radilo dok nisam dodao SetPlayerVirtualWorld(playerid, 3);
3842 - vijecnica = true;
3850 - gunshopdrugi = true;
ewo gdje sam dodao to i onda se errori pojavili :D
if(IsPlayerInRangeOfPoint(playerid,3.0, 1582.2559,-1170.8842,24.0913)) //24/7 Gun Shop Drugi
{
GameTextForPlayer(playerid, "~g~24/7", 5000, 1);
SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,-25.884498,-185.868988,1003.546875);
SetPlayerVirtualWorld(playerid, 3)
gunshopdrugi = true;
}
Citat: "BG" Ra[K]uN " poslato Novembar 12, 2011, 21:26:46 POSLE PODNE
ewo radio sam i ewo erroea nekakvih
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3834) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3842) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3850) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3858) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3866) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3874) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3882) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3890) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3898) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3906) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3914) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3922) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3930) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3938) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\RaKuN\Desktop\SAMP\''BG'' Balkan GanG\gamemodes\BG.pwn(3946) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
15 Errors.
ewo linije a ostale su iste samo imaju ime drugacije nezz sta tu nevalja sve je radilo dok nisam dodao SetPlayerVirtualWorld(playerid, 3);
3842 - vijecnica = true;
3850 - gunshopdrugi = true;
ewo gdje sam dodao to i onda se errori pojavili :D
if(IsPlayerInRangeOfPoint(playerid,3.0, 1582.2559,-1170.8842,24.0913)) //24/7 Gun Shop Drugi
{
GameTextForPlayer(playerid, "~g~24/7", 5000, 1);
SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,-25.884498,-185.868988,1003.546875);
SetPlayerVirtualWorld(playerid, 3)
gunshopdrugi = true;
}
Citatif(IsPlayerInRangeOfPoint(playerid,3.0, 1582.2559,-1170.8842,24.0913)) //24/7 Gun Shop Drugi
{
GameTextForPlayer(playerid, "~g~24/7", 5000, 1);
SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,-25.884498,-185.868988,1003.546875);
SetPlayerVirtualWorld(playerid, 3);
gunshopdrugi = true;
}
; ti fali vidi
if(IsPlayerInRangeOfPoint(playerid,3.0, 1582.2559,-1170.8842,24.0913)) //24/7 Gun Shop Drugi
{
GameTextForPlayer(playerid, "~g~24/7", 5000, 1);
SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,-25.884498,-185.868988,1003.546875);
SetPlayerVirtualWorld(playerid, 3);
gunshopdrugi = true;
}
Falilo ti ;
da i ja sam taman skuzio da fale tocka zarez hehehe sry :D