cawko mam problem nwm preco ale v mode mam body a ked niekto niekoho zabije tak sa mu to ako pripocita ale ked niekto niekoho zabije napr. s hydrov tak sa mu to nepripocita... mam to spravene v OnPlayerDeath...
4 posters
[HELP]body
dajmon- Nováčik
- Posts : 18
Join date : 26.04.2011
- Post n°3
Re: [HELP]body
if(team_1[playerid] == 2)
{
if(team_1[killerid] == 1)
{
SendClientMessage(killerid,COLOR_COKOLADA,"Získal si 1 bod + 100$");
a_z[killerid] += 1;
GivePlayerMoney(killerid,100);
}
}
{
if(team_1[killerid] == 1)
{
SendClientMessage(killerid,COLOR_COKOLADA,"Získal si 1 bod + 100$");
a_z[killerid] += 1;
GivePlayerMoney(killerid,100);
}
}
ylleron- Admin
- Posts : 82
Join date : 26.04.2011
- Post n°4
Re: [HELP]body
dajmon napísal:if(team_1[playerid] == 2)
{
if(team_1[killerid] == 1)
{
SendClientMessage(killerid,COLOR_COKOLADA,"Získal si 1 bod + 100$");
a_z[killerid] += 1;
GivePlayerMoney(killerid,100);
}
}
newm kks malo by to ist
Kaczmi- Moderátor
- Posts : 21
Join date : 27.04.2011
- Post n°5
Re: [HELP]body
Nevím, co zkusit proměnou pro vehicle ?
QWER- Znalec
- Posts : 60
Join date : 28.04.2011
- Post n°6
Re: [HELP]body
if(reason == 38 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
zabil hydrou
}
else if(reason == 31 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
zabil tou helinou s ktorou sa dá strielať...
}
zabil hydrou
}
else if(reason == 31 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
zabil tou helinou s ktorou sa dá strielať...
}
dajmon- Nováčik
- Posts : 18
Join date : 26.04.2011
- Post n°7
Re: [HELP]body
ok dik a nws este cislo na tank?? skusal som hladat wiki ale nenasiel som
QWER- Znalec
- Posts : 60
Join date : 28.04.2011
- Post n°8
Re: [HELP]body
http://wiki.sa-mp.com/wiki/Vehicles
keď nevieš kategóriu, tak prsnejšie
http://wiki.sa-mp.com/wiki/Vehicles:All
ID TANKU JE 432
...
Vehicle ID: 432
Vehicle Name: Rhino
Category: Public Service
Modifications: None
keď nevieš kategóriu, tak prsnejšie
http://wiki.sa-mp.com/wiki/Vehicles:All
ID TANKU JE 432
...
Vehicle ID: 432
Vehicle Name: Rhino
Category: Public Service
Modifications: None
dajmon- Nováčik
- Posts : 18
Join date : 26.04.2011
- Post n°9
Re: [HELP]body
neee ne toto som myslel
toto cislo som myslelelse if(reason == 31 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
QWER- Znalec
- Posts : 60
Join date : 28.04.2011
- Post n°10
Re: [HELP]body
to je id zbrane... no vlastne nie id zbrane, je to id reasonu, ale je rovanký ako id zbrane
(potom tam je id 46 = fake zbran, id 48 heli kill tušim)
omg normal na wiki
http://wiki.sa-mp.com/wiki/Weapons
(potom tam je id 46 = fake zbran, id 48 heli kill tušim)
omg normal na wiki
http://wiki.sa-mp.com/wiki/Weapons