Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: MosT_WanteD poslato Septembar 11, 2010, 20:16:02 POSLE PODNE

Naslov: [POMOC] MISIJE
Poruka od: MosT_WanteD poslato Septembar 11, 2010, 20:16:02 POSLE PODNE
trebaju mi misije wank i kisshim pliz dajte mi hitno mi trebaju warn na 150 pojena i kisshim npr stojim kod nekog igraca i bude ta misija i kucam /kisshim i ime a za wank /wank i pritiscem mis 
Naslov: Odg: [POMOC] MISIJE
Poruka od: Pika Mika poslato Septembar 11, 2010, 20:20:14 POSLE PODNE
Ne kontam :S
Naslov: Odg: [POMOC] MISIJE
Poruka od: Rotcod poslato Septembar 11, 2010, 20:21:48 POSLE PODNE
Eve ti wank ostalo nemam sto si rekao  :D


    if(strcmp(cmd, "/wank", true) == 0)
{
new Float:Health;
GetPlayerHealth(playerid, Health);
if(WankedRecently[playerid] == 0)
{
if(IsWanking[playerid] == 0)
{
ApplyAnimation(playerid, "PAULNMAC","wank_in",4.1,0,1,1,1,0);
TimesWanked[playerid] = 0;
SetTimerEx("StartWank",3500,0,"i",playerid);
format(string, sizeof(string),"* %s Unzips his pants and starts to give 'food to the chicken'",sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
}
else
{
    ApplyAnimation(playerid, "PAULNMAC","wank_out",4.1,0,1,1,1,0);
    IsWanking[playerid] = 0;
    WankedRecently[playerid] = 1;
    new rand = random(sizeof(RandomWankTime));
SetTimerEx("CanWankAgain",RandomWankTime[rand][0],0,"i",playerid);
if(TimesWanked[playerid] > 0 && TimesWanked[playerid] < 10)
{
                    if(Health < 90) { SetPlayerHealth(playerid, Health+10); }
else { SetPlayerHealth(playerid, 100); }
}
else if(TimesWanked[playerid] > 11 && TimesWanked[playerid] < 20)
{
    if(Health < 85) { SetPlayerHealth(playerid, Health+15); }
else { SetPlayerHealth(playerid, 100); }
}
else if(TimesWanked[playerid] > 21 && TimesWanked[playerid] < 30)
{
    if(Health < 80) { SetPlayerHealth(playerid, Health+20); }
else { SetPlayerHealth(playerid, 100); }
}
else if(TimesWanked[playerid] > 31 && TimesWanked[playerid] < 40)
{
    if(Health < 75) { SetPlayerHealth(playerid, Health+25); }
else { SetPlayerHealth(playerid, 100); }
}
else if(TimesWanked[playerid] > 41 && TimesWanked[playerid] < 50)
{
    if(Health < 70) { SetPlayerHealth(playerid, Health+30); }
else { SetPlayerHealth(playerid, 100); }
}
new RandomFormat = random(5);
switch (RandomFormat)
{
    case 0: { format(string, sizeof(string),"* %s Finishes and unzips his pants.",sendername); }
    case 1: { format(string, sizeof(string),"** %s Finishes and cums his hands.",sendername); }
    case 2: { format(string, sizeof(string),"** %s Finishes and cums all over the floor.",sendername); }
    case 3: { format(string, sizeof(string),"** %s Finishes and cums all over the place.",sendername); }
    case 4: { format(string, sizeof(string),"** %s Finishes and cums all over the place and the players.",sendername); }
}
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
TimesWanked[playerid] = 0;
                if (PlayerInfo[playerid][pAchievement19] == 0)
{
ShowPlayerDialog(playerid,519,DIALOG_STYLE_MSGBOX,"Achievements:\n A Dirty Mind (19)","Congratulations, You have Achieved The 'A Dirty Mind' Badge! \n You Won 300$","Okay","Cancel");
SafeGivePlayerMoney(playerid, 300);
PlayerInfo[playerid][pAchievement19] = 1;
}
}
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "* Your genitals are red and worn, please wait a few minutes before wanking again");
    return 1;
}
return 1;
}
Naslov: Odg: [POMOC] MISIJE
Poruka od: MosT_WanteD poslato Septembar 11, 2010, 20:31:23 POSLE PODNE
druze javlja ove erore
C:\Documents and Settings\cvrčak\Desktop\CrazY BalkaN DM 0.3B\gamemodes\penls.pwn(3724) : error 002: only a single statement (or expression) can follow each "case"
C:\Documents and Settings\cvrčak\Desktop\CrazY BalkaN DM 0.3B\gamemodes\penls.pwn(3724) : error 017: undefined symbol "cmd"
C:\Documents and Settings\cvrčak\Desktop\CrazY BalkaN DM 0.3B\gamemodes\penls.pwn(3727) : error 017: undefined symbol "playerid"
C:\Documents and Settings\cvrčak\Desktop\CrazY BalkaN DM 0.3B\gamemodes\penls.pwn(3728) : error 017: undefined symbol "WankedRecently"
C:\Documents and Settings\cvrčak\Desktop\CrazY BalkaN DM 0.3B\gamemodes\penls.pwn(3728) : error 017: undefined symbol "playerid"
C:\Documents and Settings\cvrčak\Desktop\CrazY BalkaN DM 0.3B\gamemodes\penls.pwn(3728) : error 029: invalid expression, assumed zero
C:\Documents and Settings\cvrčak\Desktop\CrazY BalkaN DM 0.3B\gamemodes\penls.pwn(3728) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.
ak mos reci kak da ih rjesim ili mi na brzinu neki fs il nesto treba mi ovo hitno bio bih ti mnogo zahvalan ako bi radlo
Naslov: Odg: [POMOC] MISIJE
Poruka od: Rotcod poslato Septembar 11, 2010, 20:37:14 POSLE PODNE
Zao mi je ali to je  Penls mod i moras naci neku drugu cmd
Naslov: Odg: [POMOC] MISIJE
Poruka od: Pika Mika poslato Septembar 11, 2010, 20:47:38 POSLE PODNE
posalji linije na kojima su errori, pokusat cu ti poslatl....
Naslov: Odg: [POMOC] MISIJE
Poruka od: MosT_WanteD poslato Septembar 11, 2010, 21:30:51 POSLE PODNE
ej ne znam u kojim su jer ne pise gdje je to su erori ne pisu linije na kojim je a problem je jer je penls edit
Naslov: Odg: [POMOC] MISIJE
Poruka od: Pika Mika poslato Septembar 11, 2010, 21:42:17 POSLE PODNE
Citat: Ahmed poslato Septembar 11, 2010, 21:30:51 POSLE PODNE
ej ne znam u kojim su jer ne pise gdje je to su erori ne pisu linije na kojim je a problem je jer je penls edit


daj vamo linije:

3724
3727
3728
Naslov: Odg: [POMOC] MISIJE
Poruka od: LuKsA poslato Septembar 11, 2010, 21:44:44 POSLE PODNE
Lol, bas nitko od vas se ne kuzi u skriptanje, pa ako mu dajes komandu ONDA MU I DAJ sve sta treba! znaci nisi mu dao:

new TimesWanked[playerid];
new IsWanking[playerid];
new WankedRecently[playerid];

i obrisi dio

# if (PlayerInfo[playerid][pAchievement19] == 0)  
#             {  
#                ShowPlayerDialog(playerid,519,DIALOG_STYLE_MSGBOX,"Achievements:\n A Dirty Mind (19)","Congratulations, You have Achieved The 'A Dirty Mind' Badge! \n You Won 300$","Okay","Cancel");  
#                SafeGivePlayerMoney(playerid, 300);  
#                PlayerInfo[playerid][pAchievement19] = 1;  
#             }