Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DIALOG->CMD_KVIESTI(playerid, response, listitem, inputtext[])
- {
- new
- masyvas[128]
- ;
- YES
- {
- switch(listitem)
- {
- case 0: // taksi
- {
- format(masyvas, sizeof(masyvas), "%s kviečia taksi, rašyk /vaziuoju %s", GetPlayerNameEx(playerid), GetPlayerNameEx(playerid));
- PLAYER->pIskvietimas(playerid) = DARBAS_TAKSI;
- foreach(new i : Player)
- {
- if(PLAYER->pDarbas(i) == DARBAS_TAKSI)
- {
- SendTaksiMSG(i, masyvas);
- }
- }
- }
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment