[pomoc] Komanda /space

Započeo Obrisan korisnik
12. Mar. 2011.
934
pregleda
6
postova
Deleted User
Obrisan korisnik
12. Mar. 2011.
Skripta koju koristim://
Detaljan opis problema:Kako da napravim komandu  /space za pracenje igraca
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Deleted User
Obrisan korisnik
12. Mar. 2011.
bice tebi i mod ljut ako neprocitas pravila
Deleted User
Obrisan korisnik
12. Mar. 2011.
Nekontam oces li pomoc ili ne??
CH | Marko
5
Underboss
12. Mar. 2011.
probaj ovako nesto

if(strcmp(cmd, "/tv", true) == 0 || strcmp(cmd, "/recon", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /recon [playerid/PartOfName]" );
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /recon off (prekid recona)" );
return 1;
}
if(strcmp("off", tmp, true, strlen(tmp)) == 0)
{
    if(WatchingTV > 0)
    {
    GetPlayerMoney(playerid);
        WatchingTV = 0;
Spectate = 253;
GameTextForPlayer(playerid, "~w~                Recon~n~~r~                Off", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "  You are not watching TV !");
    return 1;
}
}
if(PlayerInfo >= 2)
{
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
    if(giveplayerid != INVALID_PLAYER_ID)
    {
Spectate = giveplayerid;
new Float:health;
GetPlayerHealth(Spectate, health);
new Float:armor;
GetPlayerArmour(Spectate, armor);
GetPlayerName(Spectate, giveplayer, sizeof(giveplayer));
new cash =  GetPlayerMoney(Spectate);
if (PlayerInfo >= 2)
{
format(string, sizeof(string), "Recon: (%d) %s $%d H:%.0f A:%.0f",Spectate,giveplayer,cash,health,armor);
}
SendClientMessage(playerid, COLOR_GREEN, string);
WatchingTV = 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "  Target is not available.");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "  You are not authorized to use that command!");
return 1;
}
}
return 1;
}
Deleted User
Obrisan korisnik
12. Mar. 2011.
Zasto mi izbaci kad ono Complite izbaci mi Pawn Compliter librry Eror imam dole send Error Report  i  don"t Send
Nikola I
4
Enforcer
12. Mar. 2011.
To je zato sto moras da imas isti broj "{" i "}"

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha