placanje
1,073
pregleda
9
postova
Enforcer
Novi Član
90 / 100 XP
🌱Početnik(0)
265
Postovi:
106
Teme:
Pridružio se:Apr. 2010
21. Jun 2010.
ovako ljudi reba mi pomoc u vezi placanja,,,napravio sam granicu i sada me zanima kako kada neko upise /sfo damu se to naplati npr 1000$$
Enforcer
Novi Član
90 / 100 XP
🌱Početnik(0)
265
Postovi:
106
Teme:
Pridružio se:Apr. 2010
21. Jun 2010.
samo taj 1 red...
evo mi komanda pa gdje da tp stavim...
evo mi komanda pa gdje da tp stavim...
//-------------------------------granice--------------------------------------
if(strcmp(cmd,"/lso",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.162437438965, -1518.6613769531, 16.009059906006,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvarate granicu izmedju LS-SF.");
}
else
{
SendClientMessage(playerid, COLOR_RED, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
if(strcmp(cmd,"/lsz",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.471881866455, -1518.8791503906, 6.0306377410889,7.000 );
SendClientMessage(playerid, COLOR_GREEN, "Zatvarate granicu izmedju LS-SF.");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}21. Jun 2010.
//-------------------------------granice--------------------------------------
if(strcmp(cmd,"/lso",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.162437438965, -1518.6613769531, 16.009059906006,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvarate granicu izmedju LS-SF.");
SendClientMessage(playerid, COLOR_GREEN, "Prelaz preko granice vas je koštao 1000$.");
GivePlayerMoney(playerid, -1000)
}
else
{
SendClientMessage(playerid, COLOR_RED, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
if(strcmp(cmd,"/lsz",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.471881866455, -1518.8791503906, 6.0306377410889,7.000 );
SendClientMessage(playerid, COLOR_GREEN, "Zatvarate granicu izmedju LS-SF.");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
evo to ti je da kad se otvore vrata granice da se može prjeÄ potroÅ¡iÄe 1000$ i pisaÄe ukoliko imate problema obratite se admin...i prelaz preko granice vas je koÅ¡tao 1000$
nadam se da sam pomogao
if(strcmp(cmd,"/lso",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.162437438965, -1518.6613769531, 16.009059906006,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvarate granicu izmedju LS-SF.");
SendClientMessage(playerid, COLOR_GREEN, "Prelaz preko granice vas je koštao 1000$.");
GivePlayerMoney(playerid, -1000)
}
else
{
SendClientMessage(playerid, COLOR_RED, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
if(strcmp(cmd,"/lsz",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.471881866455, -1518.8791503906, 6.0306377410889,7.000 );
SendClientMessage(playerid, COLOR_GREEN, "Zatvarate granicu izmedju LS-SF.");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
evo to ti je da kad se otvore vrata granice da se može prjeÄ potroÅ¡iÄe 1000$ i pisaÄe ukoliko imate problema obratite se admin...i prelaz preko granice vas je koÅ¡tao 1000$
nadam se da sam pomogao
21. Jun 2010.
//-------------------------------granice--------------------------------------
if(strcmp(cmd,"/lso",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.162437438965, -1518.6613769531, 16.009059906006,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvarate granicu izmedju LS-SF.");
GivePlayerMoney(playerid, -1000) //stavi koliko oces
}
else
{
SendClientMessage(playerid, COLOR_RED, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
if(strcmp(cmd,"/lsz",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.471881866455, -1518.8791503906, 6.0306377410889,7.000 );
SendClientMessage(playerid, COLOR_GREEN, "Zatvarate granicu izmedju LS-SF.");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
if(strcmp(cmd,"/lso",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.162437438965, -1518.6613769531, 16.009059906006,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvarate granicu izmedju LS-SF.");
GivePlayerMoney(playerid, -1000) //stavi koliko oces
}
else
{
SendClientMessage(playerid, COLOR_RED, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
if(strcmp(cmd,"/lsz",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(Granica2, 20.471881866455, -1518.8791503906, 6.0306377410889,7.000 );
SendClientMessage(playerid, COLOR_GREEN, "Zatvarate granicu izmedju LS-SF.");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
Enforcer
Novi Član
90 / 100 XP
🌱Početnik(0)
265
Postovi:
106
Teme:
Pridružio se:Apr. 2010
22. Jun 2010.
Evo ljudi napravio sam ovo i radi 100%,ali imo sam u pocetku erroera ali sam sve rjesio,ali imam ovaj vaning...
C:\Users\Bill Gates\Desktop\SAMP\lopin serevr\gamemodes\cmr.pwn(10800) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 6668 bytes
Code size: 1330192 bytes
Data size: 4523264 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5103 cells (20412 bytes)
Total requirements: 5876508 bytes
1 Warning.
evo komanda..
ako vidite di sam fali,recite mrzim vidit warninge
C:\Users\Bill Gates\Desktop\SAMP\lopin serevr\gamemodes\cmr.pwn(10800) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 6668 bytes
Code size: 1330192 bytes
Data size: 4523264 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5103 cells (20412 bytes)
Total requirements: 5876508 bytes
1 Warning.
evo komanda..
//-------------------------------granice--------------------------------------
if(strcmp(cmd,"/sf3o",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(granica3,-30.9150390625, -1331.6973876953, 10.024829864502,7.000 );
SendClientMessage(playerid, COLOR_GREEN, "Otvarate granicu izmedju LS-SF.");
GivePlayerMoney(playerid, -1000);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}
if(strcmp(cmd,"/sf3z",true)==0)
{
if(PlayerInfo == 0||PlayerInfo == 11)
{
MoveObject(granica3,-23.297950744629, -1341.5887451172, 10.614755630493,7.000 );
SendClientMessage(playerid, COLOR_GREEN, "Zatvarate granicu izmedju LS-SF ");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Ukoliko imate problema obratite se adminima-gamemasterima.");
}
return 1;
}ako vidite di sam fali,recite mrzim vidit warninge
22. Jun 2010.
Neznam jeli to do foruma ili ne, ali ako nije onda pomakni give player mani taÄno ispod SendCilent message tj da poÄinje ispod slova S
Enforcer
Novi Član
90 / 100 XP
🌱Početnik(0)
265
Postovi:
106
Teme:
Pridružio se:Apr. 2010
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava