24.12.2012, 22:13
pawn Код:
new myvehicle
pawn Код:
public OnGameModeInit(playerid)
{
myvehicle = CreateVehicle(blah,blah,blah);
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/destroyveh", true) == 0)
{
DestroyVehicle(myvehicle);
return 1;
}
return 0;
}