zdar lidi chci se zeptat nevíte jak se dela ozralost jako ej v MT ? nejdriv pomalu se bude tocit a postupne vic a vic....a v onplayerseceltedmenurow to mam takhle:
if (Current == alcmenu ) {
switch(row) {
case 0:{
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
SendClientMessage(playerid, COLOR_LIGHTBLUE, ">>!<< Koupil sis pivo za 50$!");
ApplyAnimation(playerid,"PED","WALK_DRUNK",0.01,1,1,1,1,1);
printf(string); //dej do logu
GivePlayerMoney(playerid,-50);
}
}
}
if (Current == alcmenu ) {
switch(row) {
case 1:{
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
SendClientMessage(playerid, COLOR_LIGHTBLUE, ">>!<< Koupil sis rum za 85$!");
ApplyAnimation(playerid,"PED","WALK_DRUNK",0.01,1,1,1,1,1);
printf(string); //dej do logu
GivePlayerMoney(playerid,-85);
}
}
}
if (Current == alcmenu ) {
switch(row) {
case 2:{
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
SendClientMessage(playerid, COLOR_LIGHTBLUE, ">>!<< Koupil sis slivovicy za 125$!");
ApplyAnimation(playerid,"PED","WALK_DRUNK",0.01,1,1,1,1,1);
printf(string); //dej do logu
GivePlayerMoney(playerid,-125);
}
}
}
if (Current == alcmenu ) {
switch(row) {
case 3:{
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
SendClientMessage(playerid, COLOR_LIGHTBLUE, ">>!<< Koupil sis whisky za 245$!");
ApplyAnimation(playerid,"PED","WALK_DRUNK",0.01,1,1,1,1,1);
printf(string); //dej do logu
GivePlayerMoney(playerid,-245);
}
}
}
if (Current == alcmenu ) {
switch(row) {
case 4:{
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
SendClientMessage(playerid, COLOR_LIGHTBLUE, ">>!<< Koupil sis vodku za 150$!");
ApplyAnimation(playerid,"PED","WALK_DRUNK",0.01,1,1,1,1,1);
printf(string); //dej do logu
GivePlayerMoney(playerid,-150);
}
}
}
return 1;
}
Dotaz
Guest Ryder14
zdar lidi chci se zeptat nevíte jak se dela ozralost jako ej v MT ? nejdriv pomalu se bude tocit a postupne vic a vic....a v onplayerseceltedmenurow to mam takhle:
Link to comment
Share on other sites
11 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now