GTA Közösség - A magyar GTA fórum

Hatalmas Archívum => Fórum Archívum (Témák/Fórumok) => A témát indította: Arnold_Alexander - 2011. augusztus 02. - 12:55:58

Cím: Re:Boost
Írta: Arnold_Alexander - 2011. augusztus 02. - 12:55:58
if(newkeys & KEY_SPRINT{
if(gTeam[playerid] == TEAM_ZOMBIE)
{
if(GetPVarInt(playerid, \"Anim\") == 0)
{
        SetPVarInt(playerid, \"Anim\", 1);
ApplyAnimation(playerid,\"PED\",\"sprint_civi\",1,1,1,1,1,1);
} else {
        SetPVarInt(playerid, \"Anim\", 0);
        ClearAnimations(playerid);
}
}else{
}
return 1;
}
Cím: Re:Boost
Írta: Arnold_Alexander - 2011. augusztus 02. - 13:09:43
WebSite\" post=\"161399\" timestamp=\"1312283178\"]
Azért mert egy lezárást kihagytál szerintem
 
if(newkeys & KEY_SPRINT{
if(gTeam[playerid] == TEAM_ZOMBIE)
{
if(GetPVarInt(playerid, \"Anim\") == 0)
{
        SetPVarInt(playerid, \"Anim\", 1);
ApplyAnimation(playerid,\"PED\",\"sprint_civi\",1,1,1,1,1,1);
} else {
        SetPVarInt(playerid, \"Anim\", 0);
        ClearAnimations(playerid);
}
}
return 1;
}

 
Probáld igy :)
 
[/quote]
énis ugyenezt irtam már megbocsáss... -.-\" (((most ezzel tevagy a jó scripter meg a pro hogy lemásoltad azt amit énirtam és leszedtél kb 6 karaktert...))) én megoldásom annyival jobb hogy hagytam neki helyet hogy micsináljon HA NEM zombi csapatban van depersze website szerint az õ copy megoldása jobb DE NEM! döntsd el meiket használod!
Cím: Re:Boost
Írta: Arnold_Alexander - 2011. augusztus 02. - 13:13:20
akkor a helyes ez:
 
if(newkeys & KEY_SPRINT{
if(gTeam[playerid] == TEAM_ZOMBIE)
{
if(GetPVarInt(playerid, \"Anim\") == 0)
{
SetPVarInt(playerid, \"Anim\", 1);
ApplyAnimation(playerid,\"PED\",\"sprint_civi\",1,1,1,1,1,1);
}
else
{
SetPVarInt(playerid, \"Anim\", 0);
ClearAnimations(playerid);
}
}
else
{
//HA NEM ZOMBI CSAPATBAN VAN
}
return 1;
}