- 0
Ajutor Badmin
-
Similar Content
-
- 1 reply
- 212 views
-
- 3 replies
- 112 views
-
- 4 answers
- 219 views
-
- 3 replies
- 95 views
-
Mapping Ajutor
By Ronni,
- 12 replies
- 257 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
By Ronni,
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
[Funky]Anakin
Salut sa-mp.ro .Am facut comanda badmin.
--Vreau ca pe server sa apara cand dau /badmin intr-un chenar ( ONDialogReponse).
--Intru pe server apas pe optiune si nu imi arata datele de contact imi da o masina.
Comanda :
[pawn]
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by Allex");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by Allex");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
public OnPlayerConnect(playerid)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Badmin", "Level 1 -- 10 ore","Level 2 --20 ore" , "Level3 -- 30 ore" , "Level 4 -- 3E", "Level 5 --4E","Level 6 --5E","Level 7 --6E","Level 8 --7E","Level 9 --8E" "Continue", "Quit");
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Badmin", "Level 1 -- 10 ore","Level 2 -- 20 ore","Level3 --3O ore ","Level 4 -- 3E", "Level 5 -- 4E", "Level 6 -- 5E","Level 7 -- 6E","Level 8 -- 7E","Level 9 -- 8E" "Continue", "Quit");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/badmin", true) == 0)
{
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Badmin", "Level 1 -- 10 ore","Level 2 -- 20 ore","Level3 --3O ore ","Level 4 -- 3E", "Level 5 -- 4E", "Level 6 -- 5E","Level 7 -- 6E","Level 8 -- 7E","Level 9 -- 8E" "Continue", "Quit");
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(response)
{
SendClientMessage(playerid,0x008000FF, "Id:[email protected]!");
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "Varsta :14 Ani!");
}
return 1;
}
return 0;
if(dialogid == 2)
{
if(response)
{
SendClientMessage(playerid,0x008000FF, "Id:[email protected]!");
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "Varsta :16 Ani!");
}
return 1;
}
return 0;
if(dialogid == 3)
{
if(response)
{
SendClientMessage(playerid,0x008000FF, "Id:geo.playmix_14!");
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "Varsta :16 Ani!");
}
return 1;
}
return 0;
if(dialogid == 4)
{
if(response)
{
SendClientMessage(playerid,0x008000FF, "Id:[email protected]!");
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "Varsta :14 Ani!");
}
return 1;
}
return 0;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}[/pawn]
Link to comment
Share on other sites
0 answers to this question
Recommended Posts