19.07.2012, 22:18
Weird..
Its working for me..
Try this test gamemode and see if it works for you
Its working for me..
pawn Код:
#include <a_samp>
#include <streamer>
main()
{
}
new kupno[5];
public OnPlayerConnect(playerid)
{
SpawnPlayer(playerid);
return 1;
}
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid,-1650,1206,7.25);
return 1;
}
public OnGameModeInit()
{
kupno[0] = CreateDynamicPickup(1274, 1, -1657.8188, 1210.8721, 7.2500, 0, 0, -1, 15.0);
}
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
if(pickupid == kupno[0])//salon
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Cars - sporting", "Write /buy for buy a car.", "Buy", "Cancel");
SendClientMessage(playerid, -1, "yyy2");
}
return 1;
}