23.06.2012, 16:35
Hey Guys I did This:
But It is Showing This Error:
pawn Код:
forward CarSpawner(playerid,model);
new pickup;
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickup)
{
ShowPlayerDialog(playerid, 2346, DIALOG_STYLE_LIST, "{6EF83C} UDC Cars Menu", "NRG-500\nFreeway\nBMX\nInfernus\nMonster truck\nCheetah\nSuper-GT", "Select", "Cancel");
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 2346)
{
if(response)
{
if(listitem == 0)
{
CarSpawner(playerid,522);
GameTextForPlayer(playerid, "~r~Car ~g~Spawned!", 500, 0);
SendClientMessage(playerid,COLOR_DARKRED,"Nrg-500 Has Been Spawned! Enjoy Your Stunts");
}
}
return 1;
}
return true;
}
pawn Код:
E:\UDCSER~1\GAMEMO~1\Wars.pwn(4896) : error 004: function "CarSpawner" is not implemented
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.