02.05.2016, 16:34
So I was making a /info command which tells player his information like if he has drugs, wallet etc.
I wanted to make that the /info command also shows his team name like Police Officer / Army Officer / Civillian
I can do that by SendClientMessage but how do I do it as a dialog.
This is how I did using SendClientMessage:
..and so on.
I want to make this show in Dialog that If he's a Police Officer, It'll show Skill/Job: Police Officer
Please do explain too as I'm new and I would like to learn it so I won't come again asking for the same.
I wanted to make that the /info command also shows his team name like Police Officer / Army Officer / Civillian
I can do that by SendClientMessage but how do I do it as a dialog.
This is how I did using SendClientMessage:
pawn Код:
if(gTeam[giveplayerid] == TEAM_COP) {
SendClientMessage(playerid,-1,"{FF0000}Skill/Job: {FFFFFF}Police Officer");
}
else
if(gTeam[giveplayerid] == TEAM_ARMY) {
SendClientMessage(playerid,-1,"{FF0000}Skill/Job: {FFFFFF}Army");
}
I want to make this show in Dialog that If he's a Police Officer, It'll show Skill/Job: Police Officer
Please do explain too as I'm new and I would like to learn it so I won't come again asking for the same.